Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 190.9 kB / 16.67 MB, free: 6.543 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3711, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003984/0.3751, allocations: 2.17 MB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.3774, allocations: 1.378 MB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.3776, allocations: 7.938 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.3784, allocations: 183.1 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.3787, allocations: 127.4 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.3792, allocations: 143.6 kB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000309/0.3795, allocations: 231.1 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3797, allocations: 48.31 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.3798, allocations: 103.5 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.38, allocations: 91.55 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.38, allocations: 12 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.3802, allocations: 55.91 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3803, allocations: 83.69 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.3804, allocations: 146.9 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004912/0.3809, allocations: 358.2 kB / 1.172 GB, free: 1.625 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.3809, allocations: 4 kB / 1.172 GB, free: 1.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3809, allocations: 3.938 kB / 1.172 GB, free: 1.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.381, allocations: 0 / 1.172 GB, free: 1.617 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009658/0.3819, allocations: 0.684 MB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.382, allocations: 12.03 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.3821, allocations: 44.66 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.3825, allocations: 364.7 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3826, allocations: 4.375 kB / 1.173 GB, free: 436 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.3826, allocations: 7.938 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.3828, allocations: 81.53 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3828, allocations: 4 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3828, allocations: 0 / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3828, allocations: 0 / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3829, allocations: 35.98 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.3837, allocations: 464.5 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.3839, allocations: 66.67 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.384, allocations: 28.83 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.384, allocations: 4 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.3842, allocations: 75.33 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3842, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003385/0.3845, allocations: 145.4 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.3846, allocations: 55.34 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.3852, allocations: 0.5371 MB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3852, allocations: 29.7 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.3854, allocations: 224 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3854, allocations: 15.84 kB / 1.174 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.3855, allocations: 45.69 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3857, allocations: 354.8 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3858, allocations: 51.97 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3859, allocations: 80.36 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3861, allocations: 88.06 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3861, allocations: 112 / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003021/0.3864, allocations: 205.2 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3864, allocations: 4 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3865, allocations: 0 / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3865, allocations: 0 / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3866, allocations: 27.92 kB / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3866, allocations: 3.984 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3867, allocations: 19.88 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.3868, allocations: 12.03 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001863/0.387, allocations: 179.9 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.387, allocations: 43.72 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.636e-05/0.3871, allocations: 47.8 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3871, allocations: 3.938 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3871, allocations: 0 / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3871, allocations: 0 / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.3874, allocations: 297.5 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3874, allocations: 0 / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.3875, allocations: 8 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3875, allocations: 256 / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3875, allocations: 4 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3875, allocations: 7.938 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3875, allocations: 0 / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.3877, allocations: 160.7 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3879, allocations: 112.8 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.3879, allocations: 0 / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.388, allocations: 19.92 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.3881, allocations: 7.984 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3881, allocations: 4 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004013/0.3885, allocations: 362.8 kB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3885, allocations: 0 / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002811/0.3888, allocations: 43.94 kB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001119/0.3899, allocations: 427 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.3902, allocations: 95.84 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3902, allocations: 4 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.3903, allocations: 23.98 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3907, allocations: 67.39 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.3918, allocations: 0.6511 MB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.3922, allocations: 0.8177 MB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.532e-05/0.3923, allocations: 17.55 kB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.3924, allocations: 27.42 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.3924, allocations: 0 / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.007371/0.3998, allocations: 2.876 MB / 1.181 GB, free: 7.422 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches