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.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.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.001987/0.001987, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002146/0.002146, allocations: 195.1 kB / 16.14 MB, free: 6.656 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.947/2.947, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.27 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3509, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004472/0.3555, allocations: 2.248 MB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.3577, allocations: 1.346 MB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.3579, allocations: 7.938 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.3585, allocations: 183.7 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.3588, allocations: 111.5 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.3592, allocations: 131.8 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.3595, allocations: 215.1 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3596, allocations: 36.67 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.3598, allocations: 87.52 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.36, allocations: 103.5 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.36, allocations: 4 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.3602, allocations: 47.95 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3603, allocations: 87.56 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3604, allocations: 127 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.3608, allocations: 346.6 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3608, allocations: 0 / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3609, allocations: 0 / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3609, allocations: 0 / 1.057 GB, free: 3.777 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.0009885/0.3619, allocations: 0.6803 MB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3619, allocations: 8.031 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.334e-05/0.362, allocations: 48.36 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.3624, allocations: 364.1 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3625, allocations: 384 / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.3625, allocations: 11.94 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3627, allocations: 73.66 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3627, allocations: 4 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3627, allocations: 4 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3627, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3628, allocations: 35.92 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.3635, allocations: 452.5 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.3637, allocations: 74.61 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.3638, allocations: 28.84 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3638, allocations: 0 / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.364, allocations: 75.39 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.364, allocations: 0 / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003445/0.3644, allocations: 153.2 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.3644, allocations: 63.22 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/0.365, allocations: 0.5294 MB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.365, allocations: 29.69 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.3652, allocations: 216 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3652, allocations: 23.73 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.3653, allocations: 37.7 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3654, allocations: 358.8 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.3655, allocations: 51.97 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3657, allocations: 74.55 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.3658, allocations: 81.7 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3659, allocations: 3.938 kB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004183/0.3663, allocations: 199.8 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3663, allocations: 9.469 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3663, allocations: 4 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3663, allocations: 0 / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3665, allocations: 27.86 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3665, allocations: 4 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3666, allocations: 15.89 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3666, allocations: 4 kB / 1.061 GB, free: 15.84 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 ($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.0001705/0.3668, allocations: 181 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.3669, allocations: 47.53 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.259e-05/0.3669, allocations: 39.8 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.367, allocations: 7.938 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.367, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.367, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.3672, allocations: 305.4 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3672, allocations: 0 / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.3673, allocations: 7.938 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3673, allocations: 0 / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3673, allocations: 3.984 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3673, allocations: 3.938 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3673, allocations: 4 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.3675, allocations: 148.6 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.3676, allocations: 116.5 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.3677, allocations: 8.312 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.3677, allocations: 11.92 kB / 1.061 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.3678, allocations: 15.92 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3678, allocations: 4 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003603/0.3682, allocations: 366.8 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3682, allocations: 0 / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002573/0.3685, allocations: 39.98 kB / 1.062 GB, free: 14.46 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 (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.001019/0.3695, allocations: 417.9 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.3697, allocations: 87.97 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3697, allocations: 0 / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.3699, allocations: 35.98 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.3704, allocations: 53.92 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3715, allocations: 0.7255 MB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.372, allocations: 0.8179 MB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.814e-05/0.3721, allocations: 29.66 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.3721, allocations: 19.42 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3721, allocations: 4 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.007033/0.3792, allocations: 2.724 MB / 1.067 GB, free: 9.684 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