Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002281/0.002281, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.594/1.594, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.095/3.095, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.8108 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.628e-05, allocations: 2.312 kB / 0.8108 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004394/0.004431, allocations: 2.219 MB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00295/0.00738, allocations: 1.473 MB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.007507, allocations: 1.375 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006882/0.008195, allocations: 183.7 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.008679, allocations: 176.8 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.008988, allocations: 115.5 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.009363, allocations: 250.9 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.009507, allocations: 28.56 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.009751, allocations: 125.2 kB / 0.8153 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.009933, allocations: 87.72 kB / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.009979, allocations: 8 kB / 0.8154 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.01014, allocations: 60.91 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.01028, allocations: 95.62 kB / 0.8155 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.0104, allocations: 75.66 kB / 0.8156 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005662/0.01097, allocations: 348.2 kB / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.01097, allocations: 0 / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.843e-06/0.01098, allocations: 0 / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.01098, allocations: 0 / 0.8159 GB, free: 12.74 MB / 0.7761 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.001555/0.01254, allocations: 0.7516 MB / 0.8166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.01258, allocations: 8.656 kB / 0.8167 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.01269, allocations: 52.61 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.01322, allocations: 297.5 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.01324, allocations: 5.156 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.01327, allocations: 8.375 kB / 0.817 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.0135, allocations: 108.5 kB / 0.8171 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.01351, allocations: 0 / 0.8171 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.01353, allocations: 4.531 kB / 0.8171 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.01353, allocations: 0 / 0.8171 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.01364, allocations: 29.36 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009029/0.01455, allocations: 0.4955 MB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.01476, allocations: 68.45 kB / 0.8177 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.713e-05/0.01483, allocations: 23.67 kB / 0.8177 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.01484, allocations: 0 / 0.8177 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.01504, allocations: 103.4 kB / 0.8178 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.01504, allocations: 4.656 kB / 0.8178 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0004083/0.01545, allocations: 141.4 kB / 0.8179 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.01551, allocations: 56.31 kB / 0.818 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.01627, allocations: 0.5925 MB / 0.8186 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.0163, allocations: 34.48 kB / 0.8186 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.0166, allocations: 294.8 kB / 0.8189 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.01664, allocations: 19.91 kB / 0.8189 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01674, allocations: 56.61 kB / 0.819 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003874/0.01712, allocations: 0.5625 MB / 0.8195 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.757e-05/0.01722, allocations: 35.98 kB / 0.8196 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.01739, allocations: 104.2 kB / 0.8197 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.01756, allocations: 91.83 kB / 0.8197 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.01757, allocations: 5.844 kB / 0.8197 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003483/0.01791, allocations: 179.1 kB / 0.8199 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.01793, allocations: 8 kB / 0.8199 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01794, allocations: 0 / 0.8199 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01795, allocations: 0 / 0.8199 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.01808, allocations: 24.86 kB / 0.8199 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01809, allocations: 0 / 0.8199 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.0182, allocations: 15.39 kB / 0.82 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.01823, allocations: 12 kB / 0.82 GB, free: 8.355 MB / 0.7761 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.0001935/0.01842, allocations: 178.1 kB / 0.8201 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.01849, allocations: 47.67 kB / 0.8202 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.01879, allocations: 133.6 kB / 0.8203 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.01879, allocations: 0 / 0.8203 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01879, allocations: 0 / 0.8203 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.0188, allocations: 4 kB / 0.8203 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.01921, allocations: 309.1 kB / 0.8206 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01921, allocations: 0 / 0.8206 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.01926, allocations: 9.688 kB / 0.8206 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01926, allocations: 0 / 0.8206 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01927, allocations: 4 kB / 0.8206 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01927, allocations: 0 / 0.8206 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01927, allocations: 0 / 0.8206 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.01956, allocations: 169.2 kB / 0.8208 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.01966, allocations: 51.64 kB / 0.8208 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.0197, allocations: 4 kB / 0.8208 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.01978, allocations: 8.656 kB / 0.8208 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.01985, allocations: 13.94 kB / 0.8209 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.01986, allocations: 0 / 0.8209 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004551/0.02031, allocations: 366.7 kB / 0.8212 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02031, allocations: 0 / 0.8212 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002746/0.02059, allocations: 47.92 kB / 0.8213 GB, free: 6.973 MB / 0.7761 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.002973/0.02356, allocations: 439.7 kB / 0.8217 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.02384, allocations: 94.45 kB / 0.8218 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.02384, allocations: 0.9375 kB / 0.8218 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.02394, allocations: 35.61 kB / 0.8218 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.02436, allocations: 67.39 kB / 0.8219 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.02544, allocations: 0.5855 MB / 0.8224 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.02569, allocations: 204.6 kB / 0.8226 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.72e-05/0.02577, allocations: 29.77 kB / 0.8227 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.02584, allocations: 20.5 kB / 0.8227 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.02584, allocations: 0 / 0.8227 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of Templates: time 0.009161/0.035, allocations: 3.039 MB / 0.8256 GB, free: 2.684 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.673807368963026]