Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001564/0.001564, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001827/0.001827, allocations: 167 kB / 22.46 MB, free: 5.379 MB / 14.72 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.622/1.622, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.879/2.879, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.765e-05/3.989e-05, allocations: 4.531 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.005317/0.005357, allocations: 2.366 MB / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.00687, allocations: 0.5003 MB / 0.9538 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.007231, allocations: 4 kB / 0.9538 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006933/0.007925, allocations: 119.2 kB / 0.9539 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.008356, allocations: 99.22 kB / 0.954 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.008614, allocations: 43.94 kB / 0.954 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.009215, allocations: 258.5 kB / 0.9543 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.009537, allocations: 79.58 kB / 0.9544 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.009969, allocations: 123.8 kB / 0.9545 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.01024, allocations: 75.73 kB / 0.9546 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.33e-05/0.01031, allocations: 16 kB / 0.9546 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.806e-05/0.01038, allocations: 20 kB / 0.9546 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.01053, allocations: 83.69 kB / 0.9547 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.01069, allocations: 87.66 kB / 0.9548 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.01126, allocations: 330.9 kB / 0.9551 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.01126, allocations: 0 / 0.9551 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01127, allocations: 0 / 0.9551 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.212e-05/0.01129, allocations: 3.938 kB / 0.9551 GB, free: 7.359 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001301/0.01259, allocations: 0.5817 MB / 0.9556 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.01264, allocations: 8.031 kB / 0.9556 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.01277, allocations: 44.66 kB / 0.9557 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.01326, allocations: 255.9 kB / 0.9559 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.01329, allocations: 16.31 kB / 0.956 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.01333, allocations: 12.38 kB / 0.956 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.01371, allocations: 143.5 kB / 0.9561 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.01373, allocations: 192 / 0.9561 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.01375, allocations: 8.375 kB / 0.9561 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.01375, allocations: 384 / 0.9561 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.01402, allocations: 103.6 kB / 0.9562 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009987/0.01502, allocations: 487.9 kB / 0.9567 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.01538, allocations: 90.53 kB / 0.9568 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.01551, allocations: 40.84 kB / 0.9568 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.01554, allocations: 4 kB / 0.9568 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.01557, allocations: 30.56 kB / 0.9568 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.01558, allocations: 0 / 0.9568 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004782/0.01605, allocations: 145.4 kB / 0.957 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.01612, allocations: 59.41 kB / 0.957 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/0.0167, allocations: 390 kB / 0.9574 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.01672, allocations: 25.7 kB / 0.9574 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.01696, allocations: 224.2 kB / 0.9576 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.01701, allocations: 31.69 kB / 0.9577 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/0.01709, allocations: 29.7 kB / 0.9577 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.01728, allocations: 342.8 kB / 0.958 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.0174, allocations: 31.98 kB / 0.9581 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.01751, allocations: 51.42 kB / 0.9581 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.01772, allocations: 103.6 kB / 0.9582 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01772, allocations: 0 / 0.9582 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002968/0.01802, allocations: 145.3 kB / 0.9583 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01804, allocations: 8 kB / 0.9583 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.01805, allocations: 0 / 0.9583 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.01807, allocations: 4 kB / 0.9583 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.0182, allocations: 28.02 kB / 0.9584 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.01821, allocations: 4 kB / 0.9584 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.322e-05/0.0183, allocations: 15.89 kB / 0.9584 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01831, allocations: 4 kB / 0.9584 GB, free: 3.754 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001921/0.0185, allocations: 161.8 kB / 0.9586 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.01857, allocations: 43.64 kB / 0.9586 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.325e-05/0.01864, allocations: 39.28 kB / 0.9586 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01864, allocations: 0 / 0.9586 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01865, allocations: 0 / 0.9586 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01865, allocations: 0 / 0.9586 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.01897, allocations: 233.2 kB / 0.9589 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01897, allocations: 4 kB / 0.9589 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.01911, allocations: 23.92 kB / 0.9589 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01912, allocations: 4 kB / 0.9589 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.01913, allocations: 4 kB / 0.9589 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01913, allocations: 0 / 0.9589 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01913, allocations: 0 / 0.9589 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.01957, allocations: 255.4 kB / 0.9591 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.733e-05/0.01967, allocations: 47.66 kB / 0.9592 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.0197, allocations: 3.938 kB / 0.9592 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.0198, allocations: 8.062 kB / 0.9592 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.01985, allocations: 7.984 kB / 0.9592 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.01985, allocations: 0 / 0.9592 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003602/0.02022, allocations: 283.1 kB / 0.9595 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.02022, allocations: 0 / 0.9595 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003126/0.02053, allocations: 47.83 kB / 0.9595 GB, free: 2.559 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001577/0.02069, allocations: 107.1 kB / 0.9596 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.02095, allocations: 68.09 kB / 0.9597 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02095, allocations: 4 kB / 0.9597 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.02104, allocations: 31.92 kB / 0.9597 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.02149, allocations: 21.66 kB / 0.9597 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.0228, allocations: 0.6183 MB / 0.9603 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.02307, allocations: 191 kB / 0.9605 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.206e-05/0.02314, allocations: 12.64 kB / 0.9605 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.02318, allocations: 16.5 kB / 0.9605 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.02318, allocations: 0 / 0.9605 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of Templates: time 0.005992/0.02918, allocations: 1.11 MB / 0.9616 GB, free: 364 kB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.831449065357447]