Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.001367/0.001367, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001376/0.001376, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.485/1.485, 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 9.1.3-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 67.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9355/0.9371, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004216/0.9414, allocations: 2.463 MB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.9437, allocations: 1.569 MB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.9439, allocations: 3.406 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.945, allocations: 329.4 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005336/0.9456, allocations: 215 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007318/0.9463, allocations: 272.2 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.9468, allocations: 389.9 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.947, allocations: 75 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.9472, allocations: 167 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.9475, allocations: 164.4 kB / 1.094 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.9475, allocations: 18.22 kB / 1.094 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.9478, allocations: 80.45 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.9479, allocations: 131.1 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.9481, allocations: 194.4 kB / 1.095 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006707/0.9488, allocations: 0.4911 MB / 1.095 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9488, allocations: 0 / 1.095 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9488, allocations: 1.094 kB / 1.095 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.9488, allocations: 0 / 1.095 GB, free: 1.566 MB / 0.8575 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.00115/0.95, allocations: 0.8292 MB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.95, allocations: 9.125 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.9502, allocations: 63.52 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.9507, allocations: 438 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.9508, allocations: 17.09 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.9508, allocations: 8.672 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.9511, allocations: 136.8 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.9511, allocations: 4.656 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.9511, allocations: 6.391 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.9512, allocations: 6.094 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.9513, allocations: 67.78 kB / 1.097 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008797/0.9522, allocations: 0.5739 MB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.9526, allocations: 130 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.9527, allocations: 48.45 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.9527, allocations: 2 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.953, allocations: 108 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 3.496e-06/0.953, allocations: 8.766 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0006186/0.9536, allocations: 238.1 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.9537, allocations: 83.8 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.9548, allocations: 0.6766 MB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.9548, allocations: 31.7 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.9551, allocations: 262.3 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.9551, allocations: 37.03 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.837e-05/0.9552, allocations: 54.08 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.9554, allocations: 373.8 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.9556, allocations: 72.45 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.9558, allocations: 118.3 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.9561, allocations: 137.8 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9561, allocations: 0 / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004856/0.9566, allocations: 275.1 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.9566, allocations: 6.688 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9566, allocations: 0 / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.9566, allocations: 2.188 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.9568, allocations: 39.88 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.9568, allocations: 1.875 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.957, allocations: 29.11 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.9571, allocations: 8.234 kB / 1.1 GB, free: 14.36 MB / 0.8731 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.0002515/0.9573, allocations: 209.5 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.9574, allocations: 58.2 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.988e-05/0.9575, allocations: 61.84 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9575, allocations: 0.6094 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9575, allocations: 0.6094 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.9577, allocations: 134.7 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.9577, allocations: 3.047 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.9579, allocations: 13.42 kB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.9579, allocations: 17.95 kB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003805/0.9583, allocations: 233.1 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004462/0.9588, allocations: 375.3 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001371/0.9589, allocations: 55.84 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006592/0.9596, allocations: 472.6 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of Backend: time 3.01e-07/0.9596, allocations: 0 / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.9614, allocations: 0.5257 MB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001975/0.9634, allocations: 1.316 MB / 1.103 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.01069/0.9741, allocations: 4.458 MB / 1.107 GB, free: 11.82 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches