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.007953/0.007953, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001686/0.001686, allocations: 199.1 kB / 16.67 MB, free: 5.973 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.625/1.625, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.804/2.804, allocations: 461.8 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3603, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00447/0.3648, allocations: 2.473 MB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003051/0.3679, allocations: 1.568 MB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.3682, allocations: 3.938 kB / 1.212 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009774/0.3692, allocations: 327 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005834/0.3698, allocations: 211.1 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00081/0.3706, allocations: 273.3 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.3712, allocations: 390.8 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.3714, allocations: 76.53 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.3718, allocations: 171.2 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.372, allocations: 155.3 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.3721, allocations: 23.98 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.3723, allocations: 87.89 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.3724, allocations: 127.6 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.3726, allocations: 190.5 kB / 1.214 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007067/0.3733, allocations: 0.4903 MB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3733, allocations: 0 / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3733, allocations: 0 / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.3734, allocations: 0 / 1.214 GB, free: 3.145 MB / 0.9669 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.001371/0.3748, allocations: 0.8296 MB / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3748, allocations: 16.62 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.3749, allocations: 64.19 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.3755, allocations: 432.7 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.3756, allocations: 15.94 kB / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.3756, allocations: 15.94 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.376, allocations: 135.3 kB / 1.216 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.376, allocations: 0 / 1.216 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.376, allocations: 4 kB / 1.216 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.376, allocations: 7.938 kB / 1.216 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.3763, allocations: 71.95 kB / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.3774, allocations: 0.5667 MB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.3777, allocations: 126.7 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3778, allocations: 44.83 kB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.3779, allocations: 4 kB / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.3781, allocations: 119.3 kB / 1.216 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3781, allocations: 0 / 1.216 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005359/0.3787, allocations: 241 kB / 1.217 GB, free: 296 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.3787, allocations: 77.11 kB / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.3795, allocations: 0.6837 MB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.3796, allocations: 29.7 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.3798, allocations: 260.4 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.3798, allocations: 35.55 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.3799, allocations: 65.53 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3801, allocations: 374.8 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3803, allocations: 71.97 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.3804, allocations: 121.9 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.3807, allocations: 141 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3807, allocations: 3.938 kB / 1.219 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004174/0.3811, allocations: 267.3 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3812, allocations: 4 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3812, allocations: 4 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3812, allocations: 0 / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.3814, allocations: 35.92 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3814, allocations: 0 / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.3815, allocations: 27.95 kB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.3816, allocations: 7.984 kB / 1.219 GB, free: 14.03 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.0002575/0.3818, allocations: 211.5 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.3819, allocations: 59.19 kB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.05e-05/0.382, allocations: 57.05 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.382, allocations: 4 kB / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.382, allocations: 0 / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.382, allocations: 0 / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.3824, allocations: 377.4 kB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3824, allocations: 7.875 kB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.3824, allocations: 8 kB / 1.22 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3824, allocations: 3.984 kB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3824, allocations: 4 kB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3825, allocations: 0 / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3825, allocations: 0 / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.3828, allocations: 231.5 kB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3829, allocations: 128.4 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.383, allocations: 7.984 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3831, allocations: 8 kB / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.3832, allocations: 19.97 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3832, allocations: 11.94 kB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005451/0.3837, allocations: 471 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3838, allocations: 0 / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003099/0.3841, allocations: 71.92 kB / 1.22 GB, free: 12.29 MB / 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.001143/0.3852, allocations: 432.8 kB / 1.221 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.3856, allocations: 151.9 kB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3856, allocations: 0 / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.3857, allocations: 51.98 kB / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.3862, allocations: 89.25 kB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3876, allocations: 0.8367 MB / 1.222 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.3881, allocations: 0.865 MB / 1.223 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.3882, allocations: 46.95 kB / 1.223 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.3883, allocations: 27.42 kB / 1.223 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3883, allocations: 0 / 1.223 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of Templates: time 0.01086/0.3992, allocations: 4.381 MB / 1.227 GB, free: 5.566 MB / 0.9825 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/jenkins/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