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.01024/0.01024, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002282/0.002282, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.407/1.407, allocations: 222.9 MB / 240.3 MB, free: 15.19 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.284/2.284, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 71.88 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9726/0.9739, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003628/0.9775, allocations: 2.457 MB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003077/0.9806, allocations: 1.573 MB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.9809, allocations: 3.125 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.9822, allocations: 326.1 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006016/0.9828, allocations: 215.5 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009126/0.9837, allocations: 278 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006111/0.9843, allocations: 385.7 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.9846, allocations: 78.73 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.9848, allocations: 163.5 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.9851, allocations: 163.9 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.9852, allocations: 18.62 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.9854, allocations: 72.36 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.9857, allocations: 134.5 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.9858, allocations: 190.3 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.9866, allocations: 0.4958 MB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9866, allocations: 0 / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9866, allocations: 0.7188 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.9867, allocations: 4 kB / 1.094 GB, free: 1.527 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.001237/0.9879, allocations: 0.8216 MB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.9879, allocations: 9.656 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.9881, allocations: 59.62 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.9887, allocations: 442 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.9887, allocations: 12.53 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.9887, allocations: 17.3 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.989, allocations: 143 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.989, allocations: 0 / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.9891, allocations: 5.766 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.9891, allocations: 6.656 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.9893, allocations: 65.38 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009203/0.9902, allocations: 0.5772 MB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.9905, allocations: 126.7 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.9907, allocations: 47.75 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.9907, allocations: 6.781 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.991, allocations: 107.8 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.991, allocations: 0.6562 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0005866/0.9916, allocations: 242 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.9916, allocations: 82.81 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009446/0.9926, allocations: 0.6771 MB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.9926, allocations: 35.89 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.9928, allocations: 262 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.9929, allocations: 42.3 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.993, allocations: 53.44 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.9932, allocations: 369.4 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.9933, allocations: 71.81 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.9935, allocations: 123.2 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.9938, allocations: 133.2 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.9939, allocations: 5 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004859/0.9943, allocations: 266.9 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9944, allocations: 9.812 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.9944, allocations: 5.078 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.9944, allocations: 2.984 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.9946, allocations: 39.12 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.9946, allocations: 1.125 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.9948, allocations: 26.12 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.9948, allocations: 6.672 kB / 1.099 GB, free: 14.34 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.0003022/0.9951, allocations: 211 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.879e-05/0.9952, allocations: 64.92 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.9954, allocations: 63.06 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.9954, allocations: 1.125 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.9954, allocations: 1.062 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.9954, allocations: 1.266 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.996, allocations: 364.8 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.996, allocations: 8.938 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.996, allocations: 7.547 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.996, allocations: 1.359 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.9961, allocations: 7.094 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.9961, allocations: 5.062 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9961, allocations: 0 / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.9965, allocations: 214.6 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.9967, allocations: 134.3 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.9968, allocations: 7.125 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.9969, allocations: 13.59 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.997, allocations: 18.67 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.997, allocations: 9.359 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008066/0.9978, allocations: 469.8 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9978, allocations: 0 / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004165/0.9983, allocations: 61.84 kB / 1.101 GB, free: 13.37 MB / 0.8731 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.001259/0.9995, allocations: 441.3 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004908/1, allocations: 153.2 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1, allocations: 0.75 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/1, allocations: 59.62 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/1.001, allocations: 93.27 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/1.002, allocations: 0.8275 MB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/1.003, allocations: 0.8618 MB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001819/1.003, allocations: 48.45 kB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/1.003, allocations: 32.52 kB / 1.103 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/1.003, allocations: 5.438 kB / 1.103 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.01188/1.015, allocations: 4.363 MB / 1.107 GB, free: 11.49 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/jenkins/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