Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_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_latest_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.000863/0.0008631, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001163/0.001163, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.833/2.833, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005407/0.0005407, allocations: 11.69 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3891, allocations: 159.6 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003344/0.3925, allocations: 1.843 MB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.395, allocations: 1.269 MB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.3952, allocations: 4 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006805/0.3959, allocations: 171.3 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.3963, allocations: 99.52 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.3968, allocations: 111.8 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.3972, allocations: 199.2 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.3973, allocations: 32.39 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.3976, allocations: 95.5 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.3978, allocations: 87.56 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.3978, allocations: 4 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.398, allocations: 39.97 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3981, allocations: 91.67 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.154e-05/0.3982, allocations: 73.52 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.3985, allocations: 267.7 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3986, allocations: 3.938 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3986, allocations: 3.938 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.3986, allocations: 0 / 1.062 GB, free: 0.8711 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001063/0.3997, allocations: 0.6298 MB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3997, allocations: 8.031 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3998, allocations: 39.53 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.4005, allocations: 331.2 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.4005, allocations: 3.953 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.4005, allocations: 8 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.4007, allocations: 77.59 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4007, allocations: 0 / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4008, allocations: 4 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4008, allocations: 4 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.4009, allocations: 35.92 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.4017, allocations: 468.5 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.4019, allocations: 74.61 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/0.402, allocations: 28.84 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.402, allocations: 0 / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.4022, allocations: 71.39 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4022, allocations: 0 / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003765/0.4026, allocations: 145 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4027, allocations: 55.41 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006544/0.4033, allocations: 0.5332 MB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4034, allocations: 25.7 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.4036, allocations: 216 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.4036, allocations: 23.73 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.4036, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4038, allocations: 362.8 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.4039, allocations: 47.97 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.404, allocations: 78.55 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.4041, allocations: 44.11 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4042, allocations: 3.938 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003294/0.4045, allocations: 193 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4045, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4045, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4046, allocations: 4.062 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.4047, allocations: 32.17 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4047, allocations: 4 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.4048, allocations: 23.83 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.4049, allocations: 7.953 kB / 1.066 GB, free: 13.1 MB / 0.8262 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 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002171/0.4051, allocations: 178.7 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.4051, allocations: 43.52 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.508e-05/0.4052, allocations: 47.81 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4052, allocations: 3.938 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4053, allocations: 0 / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4053, allocations: 0 / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.4055, allocations: 301.5 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4056, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.4056, allocations: 11.94 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4056, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4056, allocations: 7.984 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4056, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4056, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.4059, allocations: 152.5 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.406, allocations: 120.5 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.4061, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.4062, allocations: 12 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.4062, allocations: 11.97 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.4062, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004178/0.4067, allocations: 362.8 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4067, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002743/0.407, allocations: 43.94 kB / 1.067 GB, free: 11.73 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/0.408, allocations: 434 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.4082, allocations: 83.97 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4083, allocations: 4 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.701e-05/0.4083, allocations: 27.92 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.4087, allocations: 58.52 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.4098, allocations: 0.7103 MB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.4103, allocations: 0.8179 MB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.681e-05/0.4104, allocations: 25.53 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.4104, allocations: 19.42 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.4105, allocations: 0 / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of Templates: time 0.007631/0.4181, allocations: 2.638 MB / 1.072 GB, free: 7.051 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches