Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.002339/0.002339, allocations: 110 kB / 18.93 MB, free: 2.945 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.002533/0.002533, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.538/1.538, 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 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 443.5 MB / 0.7322 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 59.89 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8731/0.8752, allocations: 160.8 MB / 1.218 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.005147/0.8804, allocations: 2.484 MB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.8817, allocations: 0.5477 MB / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.882, allocations: 3.188 kB / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.8825, allocations: 127.5 kB / 1.222 GB, free: 1.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.8829, allocations: 98.55 kB / 1.222 GB, free: 1.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.8831, allocations: 40.92 kB / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.8835, allocations: 236.8 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.8838, allocations: 84.88 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.884, allocations: 85.64 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.8843, allocations: 102.2 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.8843, allocations: 18.97 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.8844, allocations: 19.22 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.8845, allocations: 85.17 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.8848, allocations: 153.8 kB / 1.222 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.8853, allocations: 344.1 kB / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8853, allocations: 0 / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8853, allocations: 0 / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of Transformations before backend: time 2.499e-05/0.8853, allocations: 5.156 kB / 1.223 GB, free: 348 kB / 0.92 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.001275/0.8866, allocations: 0.6571 MB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8866, allocations: 9.5 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.417e-05/0.8867, allocations: 44.5 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.8871, allocations: 303.1 kB / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.8872, allocations: 14.81 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.8872, allocations: 21.97 kB / 1.224 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.8875, allocations: 137.2 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.8875, allocations: 1.25 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.8876, allocations: 9.25 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.8876, allocations: 3.281 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.8878, allocations: 94.27 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009739/0.8888, allocations: 0.591 MB / 1.225 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.8891, allocations: 80.34 kB / 1.225 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.8892, allocations: 48.44 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.8892, allocations: 1.094 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.8893, allocations: 35.66 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.8893, allocations: 3.938 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.000456/0.8897, allocations: 147 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.8898, allocations: 52.5 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.8903, allocations: 389.5 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.8903, allocations: 26.95 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.8905, allocations: 222.3 kB / 1.226 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.8905, allocations: 32.14 kB / 1.226 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.8906, allocations: 29.03 kB / 1.226 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.8908, allocations: 352.4 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.8909, allocations: 26.42 kB / 1.226 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.891, allocations: 52.95 kB / 1.226 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.8911, allocations: 93.48 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8911, allocations: 4 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003049/0.8915, allocations: 147.7 kB / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.8915, allocations: 5.125 kB / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.8915, allocations: 1.469 kB / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.8915, allocations: 1.281 kB / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.8916, allocations: 32.42 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.8916, allocations: 1.125 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.8917, allocations: 7.828 kB / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.8917, allocations: 4.125 kB / 1.226 GB, free: 13.35 MB / 0.9356 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.0001732/0.8919, allocations: 170.9 kB / 1.226 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.892, allocations: 40.52 kB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.08e-05/0.892, allocations: 41.72 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.892, allocations: 0 / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.892, allocations: 5.281 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.892, allocations: 0 / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.8924, allocations: 316.5 kB / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.8924, allocations: 5.578 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.8926, allocations: 18.2 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.8926, allocations: 1.344 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.8926, allocations: 1.469 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.8926, allocations: 0 / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8926, allocations: 0 / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.893, allocations: 266.8 kB / 1.227 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.8931, allocations: 113.8 kB / 1.227 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.8932, allocations: 1.5 kB / 1.227 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.8933, allocations: 5.312 kB / 1.227 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.8933, allocations: 6.734 kB / 1.227 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.8933, allocations: 1.625 kB / 1.227 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003511/0.8937, allocations: 280.9 kB / 1.228 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8937, allocations: 5.125 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003242/0.894, allocations: 50.77 kB / 1.228 GB, free: 12.31 MB / 0.9356 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.0001713/0.8942, allocations: 102.8 kB / 1.228 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.8944, allocations: 66.31 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8944, allocations: 1.25 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.8945, allocations: 34.86 kB / 1.228 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.895, allocations: 29.91 kB / 1.228 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.8963, allocations: 0.6686 MB / 1.228 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.8969, allocations: 0.7991 MB / 1.229 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.295e-05/0.8969, allocations: 14.33 kB / 1.229 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.897, allocations: 13.28 kB / 1.229 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of SimCode: time 9.32e-07/0.897, allocations: 0 / 1.229 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.005715/0.9027, allocations: 1.343 MB / 1.231 GB, free: 10.27 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.027616108767688]