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.007741/0.007741, allocations: 103.2 kB / 15.73 MB, free: 6.051 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.001649/0.00165, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.991/2.991, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 64.27 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3248, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00361/0.3284, allocations: 2.187 MB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.3307, allocations: 1.37 MB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.3309, allocations: 0 / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006231/0.3316, allocations: 191.4 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.332, allocations: 131.3 kB / 1.212 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.3324, allocations: 141.5 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000327/0.3327, allocations: 227.1 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3329, allocations: 52.3 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3331, allocations: 103.5 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3332, allocations: 87.56 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.3333, allocations: 12 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3334, allocations: 55.95 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3335, allocations: 99.55 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3336, allocations: 127 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.3341, allocations: 366.6 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3341, allocations: 4 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3341, allocations: 0 / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.3341, allocations: 0 / 1.213 GB, free: 4.469 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001016/0.3351, allocations: 0.6723 MB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3352, allocations: 12.62 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.3353, allocations: 44.38 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.3357, allocations: 348.3 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3357, allocations: 12.38 kB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.3357, allocations: 7.938 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3359, allocations: 77.66 kB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3359, allocations: 3.938 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.336, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.336, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.3361, allocations: 39.97 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.3367, allocations: 464.5 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.3369, allocations: 62.62 kB / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.573e-05/0.337, allocations: 32.83 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.337, allocations: 0 / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.3372, allocations: 79.38 kB / 1.215 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3372, allocations: 0 / 1.215 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0003319/0.3375, allocations: 141 kB / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.3376, allocations: 59.33 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/0.3382, allocations: 0.5332 MB / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.3382, allocations: 33.7 kB / 1.215 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.3384, allocations: 212 kB / 1.215 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.3384, allocations: 19.83 kB / 1.215 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.3385, allocations: 45.61 kB / 1.216 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3386, allocations: 362.8 kB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.3387, allocations: 40.23 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3388, allocations: 74.55 kB / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.339, allocations: 93.64 kB / 1.216 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.339, allocations: 0 / 1.216 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002895/0.3393, allocations: 199.6 kB / 1.216 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3393, allocations: 5.562 kB / 1.216 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3393, allocations: 0 / 1.216 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3394, allocations: 3.938 kB / 1.216 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3395, allocations: 27.92 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3395, allocations: 0 / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.3396, allocations: 15.98 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.3396, allocations: 4 kB / 1.216 GB, free: 0.5508 MB / 0.9669 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.0001604/0.3398, allocations: 192 kB / 1.217 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.3399, allocations: 43.44 kB / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/0.3399, allocations: 47.8 kB / 1.217 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.34, allocations: 3.938 kB / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.34, allocations: 0 / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.34, allocations: 0 / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3402, allocations: 297.5 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3402, allocations: 0 / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.3403, allocations: 4 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3403, allocations: 112 / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3403, allocations: 19.92 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3403, allocations: 3.938 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3403, allocations: 0 / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.3405, allocations: 144.5 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3406, allocations: 116.6 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.3407, allocations: 0 / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.3408, allocations: 15.86 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.3408, allocations: 15.98 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.3408, allocations: 4 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003749/0.3412, allocations: 362.8 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3412, allocations: 0 / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002693/0.3415, allocations: 51.89 kB / 1.218 GB, free: 15.16 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: 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.0009382/0.3424, allocations: 410 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.3427, allocations: 99.89 kB / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3427, allocations: 0 / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.3428, allocations: 24 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3431, allocations: 61.89 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009519/0.3441, allocations: 0.6421 MB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3445, allocations: 0.8138 MB / 1.22 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.063e-05/0.3446, allocations: 25.55 kB / 1.22 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.3447, allocations: 23.42 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.3447, allocations: 0 / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of Templates: time 0.007116/0.3518, allocations: 2.94 MB / 1.222 GB, free: 10.26 MB / 0.9825 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