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.001653/0.001653, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.311/2.311, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.556/0.5574, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001458/0.5589, allocations: 0.5355 MB / 0.9503 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004744/0.5594, allocations: 325.4 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.5595, allocations: 1.156 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.074e-05/0.5595, allocations: 0 / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.404e-05/0.5595, allocations: 3.938 kB / 0.9506 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.5598, allocations: 94.62 kB / 0.9507 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.261e-05/0.5599, allocations: 14.56 kB / 0.9507 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.5599, allocations: 5.016 kB / 0.9507 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.56, allocations: 6.281 kB / 0.9507 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.56, allocations: 5.672 kB / 0.9507 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.56, allocations: 1.781 kB / 0.9507 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.5603, allocations: 193.3 kB / 0.9509 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.5603, allocations: 5.547 kB / 0.9509 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.5603, allocations: 5.406 kB / 0.9509 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.5604, allocations: 79.8 kB / 0.951 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5605, allocations: 1.188 kB / 0.951 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5605, allocations: 0 / 0.951 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.5605, allocations: 3.938 kB / 0.951 GB, free: 8.273 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.0002281/0.5607, allocations: 340.2 kB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.5607, allocations: 10.19 kB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.878e-05/0.5608, allocations: 30.75 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.5608, allocations: 6.219 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.226e-05/0.5609, allocations: 165.6 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.5609, allocations: 1.562 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.5609, allocations: 1.719 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.174e-05/0.561, allocations: 38.05 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.561, allocations: 3.938 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.561, allocations: 1.25 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.561, allocations: 0 / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.561, allocations: 6.391 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.576e-05/0.5611, allocations: 154.9 kB / 0.9517 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.518e-05/0.5612, allocations: 22.62 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.5612, allocations: 7.391 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/0.5616, allocations: 0.5839 MB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.5616, allocations: 35.97 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5617, allocations: 0 / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003782/0.562, allocations: 263.6 kB / 0.9526 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.5621, allocations: 52.44 kB / 0.9526 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.767e-05/0.5621, allocations: 101.3 kB / 0.9527 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.5621, allocations: 26.86 kB / 0.9527 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.451e-05/0.5621, allocations: 84.14 kB / 0.9528 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.5622, allocations: 13.81 kB / 0.9528 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.5622, allocations: 17.78 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.5622, allocations: 312.2 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.5623, allocations: 7.234 kB / 0.9532 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.5623, allocations: 27.16 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.5623, allocations: 26.47 kB / 0.9532 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5623, allocations: 0 / 0.9532 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.105e-05/0.5624, allocations: 50.41 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.5624, allocations: 8.969 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5624, allocations: 1.438 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5624, allocations: 0 / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.5625, allocations: 11.22 kB / 0.9533 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.5625, allocations: 4 kB / 0.9533 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.5625, allocations: 5.266 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5625, allocations: 5.25 kB / 0.9533 GB, free: 5.633 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.191e-05/0.5626, allocations: 112.2 kB / 0.9534 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.5626, allocations: 5.125 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.5627, allocations: 50.44 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5627, allocations: 0 / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5627, allocations: 1.156 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.5627, allocations: 4 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.283e-05/0.5628, allocations: 154.5 kB / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5628, allocations: 0 / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.5629, allocations: 12.7 kB / 0.9536 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5629, allocations: 3.938 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.5629, allocations: 1.156 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5629, allocations: 0.7188 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5629, allocations: 0 / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.824e-05/0.563, allocations: 83.22 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.563, allocations: 82.39 kB / 0.9538 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.563, allocations: 3.984 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.5631, allocations: 1.281 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.5631, allocations: 1.344 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.5631, allocations: 1.281 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.816e-05/0.5631, allocations: 82.3 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5631, allocations: 0 / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002207/0.5633, allocations: 29.95 kB / 0.9539 GB, free: 4.984 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.0002976/0.5636, allocations: 0.6415 MB / 0.9545 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.831e-05/0.5637, allocations: 28.05 kB / 0.9545 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5637, allocations: 0 / 0.9545 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/0.5638, allocations: 13.89 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.5639, allocations: 7.781 kB / 0.9546 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.5646, allocations: 1.144 MB / 0.9557 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.523e-05/0.5646, allocations: 0.6815 MB / 0.9564 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.5647, allocations: 2.625 kB / 0.9564 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.5647, allocations: 9.875 kB / 0.9564 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.5647, allocations: 0 / 0.9564 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.5824, allocations: 2.069 MB / 0.9584 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/8.108, allocations: 9 kB / 0.9584 GB, free: 1.391 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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