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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007668/0.007668, allocations: 97.06 kB / 15.73 MB, free: 6.004 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.001504/0.001504, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7453 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 60.12 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3318, allocations: 159.9 MB / 1.226 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003646/0.3355, allocations: 2.191 MB / 1.228 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.3376, allocations: 1.37 MB / 1.229 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.3377, allocations: 7.938 kB / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.3384, allocations: 191.4 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.3387, allocations: 127.3 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.3391, allocations: 146.7 kB / 1.23 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.3394, allocations: 231.1 kB / 1.23 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3395, allocations: 44.36 kB / 1.23 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.3397, allocations: 95.52 kB / 1.23 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.3399, allocations: 91.55 kB / 1.23 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.3399, allocations: 12 kB / 1.23 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.34, allocations: 55.91 kB / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3402, allocations: 99.55 kB / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.3403, allocations: 135 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.3408, allocations: 362.2 kB / 1.231 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3408, allocations: 0 / 1.231 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3408, allocations: 0 / 1.231 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3408, allocations: 0 / 1.231 GB, free: 4.059 MB / 0.9825 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.0009678/0.3418, allocations: 0.7033 MB / 1.231 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3418, allocations: 8.031 kB / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.3419, allocations: 44.66 kB / 1.231 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.3423, allocations: 360.8 kB / 1.232 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3424, allocations: 4.375 kB / 1.232 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3424, allocations: 11.92 kB / 1.232 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.3426, allocations: 77.66 kB / 1.232 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3426, allocations: 3.938 kB / 1.232 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3426, allocations: 0 / 1.232 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3426, allocations: 0 / 1.232 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3427, allocations: 35.98 kB / 1.232 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.3434, allocations: 460.5 kB / 1.232 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3436, allocations: 66.61 kB / 1.232 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.3437, allocations: 28.86 kB / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3437, allocations: 0 / 1.232 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.3439, allocations: 79.38 kB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3439, allocations: 0 / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003135/0.3442, allocations: 145.3 kB / 1.233 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.3442, allocations: 59.34 kB / 1.233 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.3448, allocations: 0.5294 MB / 1.233 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3448, allocations: 33.7 kB / 1.233 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.345, allocations: 220 kB / 1.233 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.345, allocations: 19.91 kB / 1.233 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.3451, allocations: 37.7 kB / 1.233 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3453, allocations: 358.8 kB / 1.234 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.3454, allocations: 43.98 kB / 1.234 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3455, allocations: 76.27 kB / 1.234 GB, free: 480 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3457, allocations: 100.8 kB / 1.234 GB, free: 376 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3457, allocations: 0 / 1.234 GB, free: 376 kB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002996/0.346, allocations: 193.3 kB / 1.234 GB, free: 176 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.346, allocations: 7.984 kB / 1.234 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.346, allocations: 0 / 1.234 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.346, allocations: 7.938 kB / 1.234 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3461, allocations: 19.94 kB / 1.234 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3462, allocations: 7.922 kB / 1.234 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3463, allocations: 12 kB / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3463, allocations: 8.031 kB / 1.234 GB, free: 112 kB / 0.9825 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.0002039/0.3465, allocations: 190.2 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.3466, allocations: 39.72 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.3466, allocations: 43.81 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3467, allocations: 7.922 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3467, allocations: 0 / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3467, allocations: 7.984 kB / 1.234 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3469, allocations: 293.5 kB / 1.235 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3469, allocations: 3.984 kB / 1.235 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.347, allocations: 8.109 kB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.347, allocations: 3.938 kB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.347, allocations: 4 kB / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.347, allocations: 4.188 kB / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.347, allocations: 0 / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3473, allocations: 156.8 kB / 1.235 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/0.3474, allocations: 120.8 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.3474, allocations: 0 / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.3475, allocations: 15.88 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.3476, allocations: 15.98 kB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3476, allocations: 3.984 kB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003981/0.348, allocations: 362.8 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.348, allocations: 0 / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002641/0.3483, allocations: 43.94 kB / 1.235 GB, free: 14.71 MB / 0.9981 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.001125/0.3494, allocations: 412.2 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.3497, allocations: 99.89 kB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3497, allocations: 0 / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.3498, allocations: 27.98 kB / 1.236 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.3502, allocations: 57.02 kB / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.3514, allocations: 0.6551 MB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.3519, allocations: 0.815 MB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.088e-05/0.3519, allocations: 29.52 kB / 1.238 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.352, allocations: 15.44 kB / 1.238 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.352, allocations: 0 / 1.238 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of Templates: time 0.007484/0.3595, allocations: 2.884 MB / 1.24 GB, free: 9.855 MB / 0.9981 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