Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 104 kB / 16.41 MB, free: 6.016 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.001524/0.001524, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 56.12 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8492/0.8507, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004261/0.855, allocations: 2.465 MB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.8577, allocations: 1.56 MB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.858, allocations: 7.938 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.8591, allocations: 323 kB / 1.213 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.8597, allocations: 211.1 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007746/0.8604, allocations: 270.9 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.861, allocations: 386.8 kB / 1.214 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.8612, allocations: 80.25 kB / 1.214 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.8616, allocations: 167.2 kB / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.8618, allocations: 167.2 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.8619, allocations: 20 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.8621, allocations: 79.89 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.8623, allocations: 123.6 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.8625, allocations: 194.5 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006571/0.8631, allocations: 0.5001 MB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.8632, allocations: 0 / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8632, allocations: 0 / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.8632, allocations: 0 / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001452/0.8646, allocations: 0.8296 MB / 1.216 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.8647, allocations: 12.03 kB / 1.216 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.8648, allocations: 60.19 kB / 1.216 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006553/0.8655, allocations: 440.7 kB / 1.216 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.8655, allocations: 15.94 kB / 1.216 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.8656, allocations: 12 kB / 1.216 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.8659, allocations: 139.3 kB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.8659, allocations: 0 / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.8659, allocations: 0 / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.866, allocations: 7.938 kB / 1.216 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.8661, allocations: 71.95 kB / 1.216 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009166/0.8671, allocations: 0.5627 MB / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.8674, allocations: 130.7 kB / 1.217 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.8675, allocations: 52.83 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.8676, allocations: 7.969 kB / 1.217 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.8678, allocations: 107.3 kB / 1.217 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.8678, allocations: 0 / 1.217 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005502/0.8684, allocations: 242.9 kB / 1.217 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.8684, allocations: 81.09 kB / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008715/0.8693, allocations: 0.6798 MB / 1.218 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.8694, allocations: 33.7 kB / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.8696, allocations: 260.4 kB / 1.218 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.8696, allocations: 35.55 kB / 1.218 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.8698, allocations: 53.7 kB / 1.218 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.87, allocations: 374.8 kB / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.8701, allocations: 67.97 kB / 1.219 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.8703, allocations: 125 kB / 1.219 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.8706, allocations: 137.3 kB / 1.219 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.8706, allocations: 3.938 kB / 1.219 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004832/0.8711, allocations: 272.8 kB / 1.219 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.8711, allocations: 4 kB / 1.219 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.8711, allocations: 4 kB / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.8712, allocations: 0 / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.8713, allocations: 35.92 kB / 1.219 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.8713, allocations: 4.062 kB / 1.219 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.8715, allocations: 27.83 kB / 1.22 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.8716, allocations: 8 kB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0002419/0.8718, allocations: 211.5 kB / 1.22 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.8719, allocations: 55.28 kB / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.872, allocations: 61.05 kB / 1.22 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.872, allocations: 0 / 1.22 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.872, allocations: 8 kB / 1.22 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.872, allocations: 7.922 kB / 1.22 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.8724, allocations: 369.3 kB / 1.22 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.8724, allocations: 3.938 kB / 1.22 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.8725, allocations: 8 kB / 1.22 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8725, allocations: 0 / 1.22 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.8725, allocations: 4 kB / 1.22 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8725, allocations: 0 / 1.22 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8725, allocations: 3.984 kB / 1.22 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.8729, allocations: 227.6 kB / 1.22 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.873, allocations: 136.2 kB / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.8731, allocations: 4 kB / 1.221 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.8732, allocations: 11.98 kB / 1.221 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.8733, allocations: 15.98 kB / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.8733, allocations: 7.984 kB / 1.221 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005318/0.8738, allocations: 471 kB / 1.221 GB, free: 336 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8739, allocations: 0 / 1.221 GB, free: 336 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000338/0.8742, allocations: 64 kB / 1.221 GB, free: 272 kB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001107/0.8753, allocations: 431.6 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.8757, allocations: 161.9 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8757, allocations: 0 / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.8759, allocations: 55.97 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.8764, allocations: 101.8 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.8779, allocations: 0.8774 MB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.8784, allocations: 0.8572 MB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.8785, allocations: 39.42 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.8785, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of Templates: time 0.009958/0.8884, allocations: 5.746 MB / 1.229 GB, free: 8.145 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches