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.001401/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001951/0.001951, allocations: 192.9 kB / 16.14 MB, free: 6.719 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.3 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3528, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004315/0.3571, allocations: 2.524 MB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002387/0.3595, allocations: 1.549 MB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.3597, allocations: 4 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009792/0.3607, allocations: 307.4 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.3611, allocations: 195.3 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.3618, allocations: 236.8 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000391/0.3622, allocations: 386.6 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.3624, allocations: 68.98 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.3626, allocations: 143.3 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.3628, allocations: 163.2 kB / 1.058 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.3629, allocations: 8 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.3631, allocations: 63.91 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.3632, allocations: 123.5 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3634, allocations: 178.6 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.3638, allocations: 486.1 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.318e-05/0.3638, allocations: 0 / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3638, allocations: 3.938 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.3639, allocations: 4 kB / 1.058 GB, free: 2.434 MB / 0.8106 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.001155/0.365, allocations: 0.8259 MB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3651, allocations: 8.031 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.3652, allocations: 60.19 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006202/0.3658, allocations: 440.7 kB / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.3658, allocations: 7.938 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3659, allocations: 12 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.3662, allocations: 141 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3662, allocations: 0 / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.3662, allocations: 7.938 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3662, allocations: 11.92 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.3664, allocations: 63.97 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.3673, allocations: 0.5783 MB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.3676, allocations: 114.8 kB / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3678, allocations: 56.83 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.3678, allocations: 3.938 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.368, allocations: 115.3 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.368, allocations: 0 / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005662/0.3686, allocations: 232 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3687, allocations: 77.11 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007184/0.3694, allocations: 0.6954 MB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.3694, allocations: 29.7 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.3697, allocations: 264.3 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.3697, allocations: 35.59 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/0.3698, allocations: 57.69 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002693/0.3701, allocations: 374.8 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3702, allocations: 71.91 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.3704, allocations: 130.4 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.3707, allocations: 132.4 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.3707, allocations: 3.938 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004127/0.3711, allocations: 270.8 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3711, allocations: 8 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3711, allocations: 0 / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3711, allocations: 0 / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3713, allocations: 31.98 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.3713, allocations: 7.938 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3715, allocations: 23.83 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.3715, allocations: 15.98 kB / 1.063 GB, free: 13.32 MB / 0.8262 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.0002059/0.3717, allocations: 211.6 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.3718, allocations: 59.28 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.755e-05/0.3719, allocations: 57.05 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3719, allocations: 0 / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3719, allocations: 0 / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3719, allocations: 4 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.3723, allocations: 365.4 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3723, allocations: 3.938 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.3723, allocations: 7.938 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3723, allocations: 7.984 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3723, allocations: 4 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3723, allocations: 0 / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3724, allocations: 0 / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.3727, allocations: 224.3 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3728, allocations: 124.4 kB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.3729, allocations: 11.98 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.373, allocations: 16 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.3731, allocations: 15.97 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3731, allocations: 4 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004836/0.3736, allocations: 471 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3736, allocations: 11.81 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002912/0.3739, allocations: 67.89 kB / 1.065 GB, free: 11.59 MB / 0.8262 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.0009477/0.3749, allocations: 422.5 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.3752, allocations: 155.9 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3752, allocations: 0 / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3753, allocations: 55.92 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.3758, allocations: 91.53 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.377, allocations: 0.955 MB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.3774, allocations: 0.8691 MB / 1.067 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.3776, allocations: 54.92 kB / 1.067 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.3776, allocations: 31.42 kB / 1.067 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3776, allocations: 0 / 1.067 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of Templates: time 0.008791/0.3864, allocations: 4.112 MB / 1.071 GB, free: 5 MB / 0.8262 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