Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 194.5 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.943/2.943, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.89 kB / 1.11 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004353/1.097, allocations: 2.205 MB / 1.277 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002775/1.1, allocations: 1.401 MB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/1.1, allocations: 7.938 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006929/1.101, allocations: 195.2 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003666/1.101, allocations: 127.3 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/1.102, allocations: 149.6 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003687/1.102, allocations: 235.1 kB / 1.279 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/1.102, allocations: 24.58 kB / 1.279 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/1.102, allocations: 107.6 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/1.102, allocations: 107.4 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/1.103, allocations: 8 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/1.103, allocations: 59.95 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/1.103, allocations: 91.67 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/1.103, allocations: 134.9 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004959/1.103, allocations: 360.8 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.103, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/1.103, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.144e-05/1.103, allocations: 0 / 1.279 GB, free: 15.02 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.001093/1.105, allocations: 0.6165 MB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.105, allocations: 8.031 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.679e-05/1.105, allocations: 44.66 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/1.105, allocations: 314.7 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/1.105, allocations: 384 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/1.105, allocations: 11.94 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/1.105, allocations: 81.59 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.105, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.105, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.105, allocations: 4 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/1.106, allocations: 31.98 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007735/1.106, allocations: 427.6 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/1.107, allocations: 66.69 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/1.107, allocations: 20.84 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/1.107, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/1.107, allocations: 87.31 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/1.107, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003865/1.107, allocations: 141.4 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/1.107, allocations: 59.34 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/1.108, allocations: 0.5333 MB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/1.108, allocations: 29.7 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/1.108, allocations: 216 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/1.108, allocations: 27.92 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/1.108, allocations: 45.64 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.109, allocations: 358.8 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.109, allocations: 47.98 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/1.109, allocations: 78.45 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/1.109, allocations: 81.7 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.109, allocations: 0 / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003383/1.109, allocations: 203.9 kB / 1.283 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.109, allocations: 5.719 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.109, allocations: 8.062 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.109, allocations: 0 / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/1.109, allocations: 31.92 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.109, allocations: 3.938 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/1.11, allocations: 7.984 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/1.11, allocations: 8 kB / 1.283 GB, free: 11.27 MB / 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.0002001/1.11, allocations: 177.8 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/1.11, allocations: 47.7 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/1.11, allocations: 137.4 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.11, allocations: 7.938 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.11, allocations: 0 / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.11, allocations: 0 / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/1.111, allocations: 272.5 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.111, allocations: 0 / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/1.111, allocations: 4 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.111, allocations: 0 / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/1.111, allocations: 0 / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/1.111, allocations: 7.875 kB / 1.283 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.111, allocations: 320 / 1.283 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/1.111, allocations: 156.8 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/1.111, allocations: 47.7 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/1.111, allocations: 0 / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/1.111, allocations: 7.938 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/1.111, allocations: 19.91 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/1.111, allocations: 4 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004275/1.112, allocations: 366.8 kB / 1.284 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/1.112, allocations: 0 / 1.284 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003191/1.112, allocations: 43.94 kB / 1.284 GB, free: 9.91 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * 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.001597/1.114, allocations: 416.2 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002795/1.114, allocations: 87.91 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.114, allocations: 0 / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/1.114, allocations: 23.98 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/1.114, allocations: 60 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/1.116, allocations: 0.6598 MB / 1.285 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/1.116, allocations: 0.81 MB / 1.286 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.36e-05/1.116, allocations: 29.47 kB / 1.286 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/1.116, allocations: 19.42 kB / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/1.116, allocations: 0 / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of Templates: time 0.00899/1.125, allocations: 2.919 MB / 1.289 GB, free: 5.02 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.839154570363462]