Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00156/0.001561, allocations: 108 kB / 15.6 MB, free: 132 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.001759/0.001759, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.546/1.546, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8307/0.832, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004585/0.8366, allocations: 2.186 MB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.8393, allocations: 1.362 MB / 0.953 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.8397, allocations: 6.906 kB / 0.9531 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008324/0.8406, allocations: 195.7 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.8409, allocations: 123.8 kB / 0.9534 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.8414, allocations: 147.4 kB / 0.9535 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.8417, allocations: 228.2 kB / 0.9537 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.8419, allocations: 41.34 kB / 0.9538 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.8421, allocations: 94.64 kB / 0.9538 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.8422, allocations: 93.52 kB / 0.9539 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.8423, allocations: 10.59 kB / 0.9539 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.8424, allocations: 61.69 kB / 0.954 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.8426, allocations: 91.39 kB / 0.9541 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.8427, allocations: 135.5 kB / 0.9542 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.8432, allocations: 350.7 kB / 0.9546 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8432, allocations: 0 / 0.9546 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8432, allocations: 3.938 kB / 0.9546 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.8432, allocations: 1.125 kB / 0.9546 GB, free: 5.41 MB / 0.7169 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.0008902/0.8441, allocations: 0.6804 MB / 0.9552 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.8441, allocations: 7.031 kB / 0.9552 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.8442, allocations: 46.03 kB / 0.9553 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.8446, allocations: 344.9 kB / 0.9556 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.8446, allocations: 7.594 kB / 0.9556 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.8446, allocations: 11.39 kB / 0.9556 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.8448, allocations: 83.19 kB / 0.9557 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.8448, allocations: 1.25 kB / 0.9557 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.8448, allocations: 0 / 0.9557 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8448, allocations: 1.188 kB / 0.9557 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.845, allocations: 38.84 kB / 0.9557 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.8456, allocations: 465.5 kB / 0.9562 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.8458, allocations: 62.31 kB / 0.9562 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.357e-05/0.8459, allocations: 27.19 kB / 0.9563 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.8459, allocations: 5.188 kB / 0.9563 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.8461, allocations: 80.94 kB / 0.9564 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.8461, allocations: 0 / 0.9564 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003653/0.8465, allocations: 142.2 kB / 0.9565 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.8465, allocations: 55.34 kB / 0.9565 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.8471, allocations: 0.5321 MB / 0.9571 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.8471, allocations: 35.95 kB / 0.9571 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.8473, allocations: 212.2 kB / 0.9573 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.8473, allocations: 18.55 kB / 0.9573 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.8474, allocations: 40.83 kB / 0.9574 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.8475, allocations: 356.5 kB / 0.9577 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/0.8476, allocations: 46.36 kB / 0.9577 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.8477, allocations: 76.64 kB / 0.9578 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.8479, allocations: 101.1 kB / 0.9579 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8479, allocations: 0 / 0.9579 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003042/0.8482, allocations: 192.3 kB / 0.9581 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.8482, allocations: 7.562 kB / 0.9581 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8482, allocations: 0 / 0.9581 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.8483, allocations: 2.109 kB / 0.9581 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.8484, allocations: 29.36 kB / 0.9581 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.8484, allocations: 1.312 kB / 0.9581 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.8485, allocations: 27.73 kB / 0.9582 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.8486, allocations: 4.156 kB / 0.9582 GB, free: 2.441 MB / 0.7169 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.0001739/0.8487, allocations: 182.6 kB / 0.9583 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.8488, allocations: 46.55 kB / 0.9584 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.037e-05/0.8489, allocations: 43.25 kB / 0.9584 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.8489, allocations: 4.781 kB / 0.9584 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8489, allocations: 0 / 0.9584 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.8489, allocations: 0.8125 kB / 0.9584 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.8492, allocations: 300.4 kB / 0.9587 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.8492, allocations: 0 / 0.9587 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.8492, allocations: 4.281 kB / 0.9587 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8492, allocations: 3.984 kB / 0.9587 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.8492, allocations: 1.062 kB / 0.9587 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8492, allocations: 5 kB / 0.9587 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.8492, allocations: 0 / 0.9587 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.8495, allocations: 152.2 kB / 0.9589 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.8496, allocations: 120.5 kB / 0.959 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.8496, allocations: 10.22 kB / 0.959 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.8497, allocations: 8.125 kB / 0.959 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.8498, allocations: 12.8 kB / 0.959 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.8498, allocations: 2.219 kB / 0.959 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004038/0.8502, allocations: 366.9 kB / 0.9594 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8502, allocations: 0 / 0.9594 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002914/0.8505, allocations: 43.75 kB / 0.9594 GB, free: 1.465 MB / 0.7169 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.001122/0.8516, allocations: 418.4 kB / 0.9598 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.8519, allocations: 99.48 kB / 0.9599 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.852, allocations: 1.062 kB / 0.9599 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.455e-05/0.8521, allocations: 27.27 kB / 0.9599 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.8525, allocations: 56.14 kB / 0.96 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.8536, allocations: 0.6452 MB / 0.9606 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.854, allocations: 0.8168 MB / 0.9614 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.8541, allocations: 28.86 kB / 0.9614 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.8542, allocations: 27.09 kB / 0.9615 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.8542, allocations: 0 / 0.9615 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.008714/0.8629, allocations: 2.852 MB / 0.9642 GB, free: 14.57 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches