Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008906/0.0008906, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001145/0.001145, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.62/2.62, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.000509, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.7527, allocations: 142.4 MB / 0.9544 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002894/0.7556, allocations: 2.051 MB / 0.9564 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.7577, allocations: 1.385 MB / 0.9578 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.7579, allocations: 2.375 kB / 0.9578 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.7585, allocations: 207.3 kB / 0.958 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.7589, allocations: 134.7 kB / 0.9581 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.7594, allocations: 142.2 kB / 0.9583 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.7597, allocations: 298.4 kB / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.7599, allocations: 80.38 kB / 0.9586 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.7601, allocations: 113 kB / 0.9587 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.7602, allocations: 126.4 kB / 0.9589 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.7603, allocations: 6.875 kB / 0.9589 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.7604, allocations: 47.41 kB / 0.9589 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.7605, allocations: 110.3 kB / 0.959 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.7606, allocations: 93.95 kB / 0.9591 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.761, allocations: 381.2 kB / 0.9595 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.761, allocations: 0 / 0.9595 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.761, allocations: 1.188 kB / 0.9595 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.761, allocations: 0 / 0.9595 GB, free: 4.133 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001014/0.762, allocations: 0.7363 MB / 0.9602 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7621, allocations: 9.906 kB / 0.9602 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.7622, allocations: 66.38 kB / 0.9603 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.7627, allocations: 393.4 kB / 0.9606 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.7627, allocations: 9.734 kB / 0.9606 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.7628, allocations: 21.61 kB / 0.9607 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.763, allocations: 133.3 kB / 0.9608 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7631, allocations: 4 kB / 0.9608 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.7631, allocations: 6.75 kB / 0.9608 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7631, allocations: 6.703 kB / 0.9608 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.7633, allocations: 81.16 kB / 0.9609 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009482/0.7642, allocations: 0.6508 MB / 0.9615 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.7646, allocations: 131.4 kB / 0.9616 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/0.7647, allocations: 49.28 kB / 0.9617 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.7647, allocations: 2 kB / 0.9617 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.7649, allocations: 108.4 kB / 0.9618 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.7649, allocations: 5 kB / 0.9618 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004617/0.7654, allocations: 212.4 kB / 0.962 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.7655, allocations: 56.5 kB / 0.9621 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/0.7662, allocations: 0.6487 MB / 0.9627 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.7662, allocations: 32.3 kB / 0.9627 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.7664, allocations: 255.4 kB / 0.963 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.7664, allocations: 36.55 kB / 0.963 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.7664, allocations: 4.906 kB / 0.963 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.7665, allocations: 375.3 kB / 0.9634 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.7667, allocations: 78.81 kB / 0.9634 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.7668, allocations: 115.1 kB / 0.9635 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.767, allocations: 79.55 kB / 0.9636 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.767, allocations: 0 / 0.9636 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003698/0.7674, allocations: 264.6 kB / 0.9639 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.7674, allocations: 11.25 kB / 0.9639 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.7674, allocations: 0 / 0.9639 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.7674, allocations: 2.312 kB / 0.9639 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.7676, allocations: 41.3 kB / 0.9639 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.7676, allocations: 1.188 kB / 0.9639 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.7678, allocations: 34.23 kB / 0.964 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.7678, allocations: 9.375 kB / 0.964 GB, free: 0.6875 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: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.768, allocations: 203.2 kB / 0.9642 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.7681, allocations: 51.25 kB / 0.9642 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.306e-05/0.7681, allocations: 60.22 kB / 0.9643 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7682, allocations: 2.312 kB / 0.9643 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7682, allocations: 0 / 0.9643 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7682, allocations: 0 / 0.9643 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.7685, allocations: 385.4 kB / 0.9646 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.7685, allocations: 0 / 0.9646 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.7685, allocations: 9.219 kB / 0.9646 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7686, allocations: 4 kB / 0.9646 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.7686, allocations: 7.984 kB / 0.9647 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.7686, allocations: 0.7812 kB / 0.9647 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7686, allocations: 0 / 0.9647 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.769, allocations: 268.7 kB / 0.9649 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.7691, allocations: 120.8 kB / 0.965 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.7692, allocations: 6.906 kB / 0.965 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.7693, allocations: 23.97 kB / 0.9651 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.7694, allocations: 25.47 kB / 0.9651 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.7694, allocations: 7.969 kB / 0.9651 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004961/0.7699, allocations: 426.9 kB / 0.9655 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7699, allocations: 0 / 0.9655 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002966/0.7702, allocations: 67.22 kB / 0.9656 GB, free: 15.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009848/0.7712, allocations: 434.5 kB / 0.966 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.7716, allocations: 156.1 kB / 0.9661 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7716, allocations: 0.7188 kB / 0.9661 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.7717, allocations: 59.03 kB / 0.9662 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.7722, allocations: 73.64 kB / 0.9663 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.7736, allocations: 0.9357 MB / 0.9672 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.7742, allocations: 0.8545 MB / 0.968 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.7744, allocations: 38.56 kB / 0.968 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/0.7745, allocations: 32.52 kB / 0.9681 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7745, allocations: 0 / 0.9681 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.01045/0.7849, allocations: 3.602 MB / 0.9716 GB, free: 11.97 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches