Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001477, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 195.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6611/0.6624, allocations: 140.4 MB / 0.9492 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001479/0.6639, allocations: 0.596 MB / 0.9498 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.6644, allocations: 321.1 kB / 0.9501 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.6644, allocations: 0 / 0.9501 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.6644, allocations: 0 / 0.9501 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.289e-05/0.6644, allocations: 1.375 kB / 0.9501 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.6648, allocations: 86.34 kB / 0.9502 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.785e-05/0.6648, allocations: 17.42 kB / 0.9502 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.6649, allocations: 1.375 kB / 0.9502 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.557e-05/0.6649, allocations: 6.688 kB / 0.9502 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.535e-05/0.6649, allocations: 5.375 kB / 0.9502 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.6649, allocations: 1.375 kB / 0.9502 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.6651, allocations: 189.5 kB / 0.9504 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.6652, allocations: 1.312 kB / 0.9504 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.6652, allocations: 10.78 kB / 0.9504 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.6653, allocations: 78.8 kB / 0.9505 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6653, allocations: 1.312 kB / 0.9505 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6653, allocations: 7.938 kB / 0.9505 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6653, allocations: 0 / 0.9505 GB, free: 8.219 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002288/0.6656, allocations: 336.9 kB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.6656, allocations: 12.67 kB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.6656, allocations: 31.59 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.6657, allocations: 6.438 kB / 0.9509 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.887e-05/0.6657, allocations: 161.6 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.6657, allocations: 5.656 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.6658, allocations: 5.594 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.6658, allocations: 38.06 kB / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.6659, allocations: 7.875 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.6659, allocations: 1.25 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.6659, allocations: 0 / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.6659, allocations: 2.656 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.436e-05/0.666, allocations: 153.2 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.631e-05/0.666, allocations: 24.16 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.6661, allocations: 14.14 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004149/0.6665, allocations: 0.5728 MB / 0.9518 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.6665, allocations: 31.69 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6665, allocations: 0 / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003654/0.6669, allocations: 267.8 kB / 0.9521 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.6669, allocations: 52.97 kB / 0.9522 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.683e-05/0.6669, allocations: 100.9 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.667, allocations: 27.08 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.41e-05/0.667, allocations: 80.14 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.667, allocations: 13.27 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.667, allocations: 23.03 kB / 0.9524 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.254e-05/0.6671, allocations: 314.8 kB / 0.9527 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.6671, allocations: 12.16 kB / 0.9527 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.6671, allocations: 14 kB / 0.9527 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.6671, allocations: 27.86 kB / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6672, allocations: 0 / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.887e-05/0.6672, allocations: 59.02 kB / 0.9528 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6673, allocations: 8.25 kB / 0.9528 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.6673, allocations: 1.406 kB / 0.9528 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6673, allocations: 0 / 0.9528 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.6674, allocations: 10.67 kB / 0.9528 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6674, allocations: 0 / 0.9528 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.6674, allocations: 9.375 kB / 0.9528 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.6674, allocations: 1.906 kB / 0.9528 GB, free: 5.578 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.6674, allocations: 107.5 kB / 0.9529 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.6675, allocations: 9.156 kB / 0.953 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.335e-05/0.6676, allocations: 62.25 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6676, allocations: 1.031 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6676, allocations: 0 / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6676, allocations: 0 / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.349e-05/0.6676, allocations: 150.6 kB / 0.9532 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6676, allocations: 0 / 0.9532 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.6677, allocations: 8.75 kB / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6677, allocations: 9.062 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.6677, allocations: 5.281 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6677, allocations: 3.938 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6677, allocations: 4 kB / 0.9532 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.742e-05/0.6678, allocations: 83.23 kB / 0.9533 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.6678, allocations: 81.47 kB / 0.9533 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.6679, allocations: 1.344 kB / 0.9533 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.6679, allocations: 1.281 kB / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.6679, allocations: 1.188 kB / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.6679, allocations: 5.344 kB / 0.9534 GB, free: 5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.8e-05/0.6679, allocations: 85.66 kB / 0.9534 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6679, allocations: 0 / 0.9534 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002038/0.6682, allocations: 31.03 kB / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002856/0.6684, allocations: 0.6412 MB / 0.9541 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.586e-05/0.6685, allocations: 23.45 kB / 0.9541 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6685, allocations: 0 / 0.9541 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.6686, allocations: 10.59 kB / 0.9541 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.6687, allocations: 3.109 kB / 0.9541 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.6693, allocations: 1.151 MB / 0.9553 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.593e-05/0.6694, allocations: 0.6791 MB / 0.9559 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.267e-05/0.6694, allocations: 6.312 kB / 0.9559 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.6694, allocations: 16.58 kB / 0.9559 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6694, allocations: 1.219 kB / 0.9559 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.759/3.429, allocations: 1.985 MB / 0.9579 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/3.429, allocations: 236.1 kB / 0.9581 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/6.295, allocations: 4 kB / 0.9581 GB, free: 1.191 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches