Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009416/0.009416, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001649/0.001649, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.899/2.899, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 64.34 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.336, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003933/0.34, allocations: 2.473 MB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002589/0.3426, allocations: 1.572 MB / 1.225 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.3428, allocations: 4 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.3439, allocations: 327 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006054/0.3445, allocations: 219.1 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007952/0.3453, allocations: 267 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007295/0.346, allocations: 386.8 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.3462, allocations: 48.67 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.3465, allocations: 171.2 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.3468, allocations: 159.2 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.3469, allocations: 20 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.3471, allocations: 87.88 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3472, allocations: 123.5 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.3475, allocations: 194.5 kB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.3481, allocations: 0.4937 MB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3481, allocations: 0 / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3481, allocations: 0 / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3481, allocations: 4 kB / 1.227 GB, free: 7.258 MB / 0.9825 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.001179/0.3493, allocations: 0.8566 MB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3493, allocations: 11.97 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/0.3494, allocations: 64.56 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.35, allocations: 433.5 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.35, allocations: 15.88 kB / 1.228 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.35, allocations: 16 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.3503, allocations: 136.5 kB / 1.228 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3503, allocations: 4 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.3503, allocations: 0 / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3503, allocations: 3.938 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.3505, allocations: 71.95 kB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000907/0.3514, allocations: 0.5744 MB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.3517, allocations: 118.7 kB / 1.229 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3518, allocations: 44.84 kB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.3519, allocations: 7.984 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.3521, allocations: 107.3 kB / 1.229 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.3521, allocations: 0 / 1.229 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0004975/0.3526, allocations: 241.2 kB / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3526, allocations: 85.09 kB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.3534, allocations: 0.6837 MB / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.3534, allocations: 33.7 kB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.3536, allocations: 272.4 kB / 1.231 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.3537, allocations: 31.73 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/0.3538, allocations: 57.66 kB / 1.231 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3539, allocations: 374.8 kB / 1.231 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3541, allocations: 67.97 kB / 1.231 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.3542, allocations: 130.6 kB / 1.231 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.3545, allocations: 132.5 kB / 1.231 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3545, allocations: 3.938 kB / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004442/0.3549, allocations: 275 kB / 1.232 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3549, allocations: 4 kB / 1.232 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.355, allocations: 4.062 kB / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.355, allocations: 4 kB / 1.232 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3551, allocations: 35.92 kB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3551, allocations: 0 / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.3553, allocations: 27.88 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.3553, allocations: 8 kB / 1.232 GB, free: 2.113 MB / 0.9825 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.0002115/0.3555, allocations: 220 kB / 1.232 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.3556, allocations: 59.56 kB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.239e-05/0.3557, allocations: 61.05 kB / 1.232 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3557, allocations: 7.938 kB / 1.232 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3557, allocations: 3.984 kB / 1.232 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3557, allocations: 0 / 1.232 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.356, allocations: 365.4 kB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3561, allocations: 3.938 kB / 1.232 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.3561, allocations: 8 kB / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3561, allocations: 0 / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3561, allocations: 4 kB / 1.232 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3561, allocations: 3.984 kB / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3561, allocations: 4 kB / 1.232 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.3565, allocations: 224.6 kB / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3566, allocations: 124.7 kB / 1.233 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.3566, allocations: 8 kB / 1.233 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.3567, allocations: 15.98 kB / 1.233 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.3568, allocations: 23.97 kB / 1.233 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.3568, allocations: 12 kB / 1.233 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004869/0.3573, allocations: 463 kB / 1.233 GB, free: 452 kB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3573, allocations: 0 / 1.233 GB, free: 452 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003252/0.3576, allocations: 67.89 kB / 1.233 GB, free: 384 kB / 0.9825 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.0009538/0.3586, allocations: 434 kB / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003681/0.3589, allocations: 143.8 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3589, allocations: 4.125 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3591, allocations: 59.95 kB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.3596, allocations: 95.45 kB / 1.234 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.3607, allocations: 0.8494 MB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.3611, allocations: 0.8572 MB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.3613, allocations: 50.92 kB / 1.236 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.3614, allocations: 31.44 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3614, allocations: 0 / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of Templates: time 0.009784/0.3711, allocations: 4.391 MB / 1.24 GB, free: 9.621 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches