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.002023/0.002023, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002235/0.002235, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.474/1.474, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 443.5 MB / 0.7304 GB, free: 14.02 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002189/0.002189, allocations: 75.88 kB / 1.059 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3607, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004402/0.3651, allocations: 2.466 MB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.3661, allocations: 0.5469 MB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.3662, allocations: 4 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.3666, allocations: 131.4 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.3667, allocations: 91.28 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.3669, allocations: 39.95 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.3672, allocations: 246.7 kB / 1.22 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.3673, allocations: 75.14 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3675, allocations: 87.66 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.3676, allocations: 107.4 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.3677, allocations: 20 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.962e-05/0.3677, allocations: 19.94 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3678, allocations: 83.69 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.3679, allocations: 147 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.3683, allocations: 346.3 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3683, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3683, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3684, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 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.0009628/0.3693, allocations: 0.6687 MB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3694, allocations: 12.03 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.3694, allocations: 44.66 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.3698, allocations: 302.5 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3699, allocations: 12.38 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.3699, allocations: 16.38 kB / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.3702, allocations: 141.9 kB / 1.222 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3702, allocations: 192 / 1.222 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.3702, allocations: 11.92 kB / 1.222 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3702, allocations: 4 kB / 1.222 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.3705, allocations: 91.95 kB / 1.222 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009049/0.3714, allocations: 0.5899 MB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.3717, allocations: 82.53 kB / 1.222 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3718, allocations: 48.89 kB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3718, allocations: 0 / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3718, allocations: 34.56 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.3718, allocations: 0 / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.000376/0.3722, allocations: 149.4 kB / 1.223 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.3722, allocations: 51.41 kB / 1.223 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.3727, allocations: 390 kB / 1.223 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3727, allocations: 25.7 kB / 1.223 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.3729, allocations: 220.2 kB / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3729, allocations: 35.72 kB / 1.223 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.373, allocations: 25.72 kB / 1.223 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3732, allocations: 355.1 kB / 1.224 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.3732, allocations: 27.98 kB / 1.224 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.952e-05/0.3733, allocations: 55.36 kB / 1.224 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.3735, allocations: 95.3 kB / 1.224 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3735, allocations: 0 / 1.224 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002585/0.3738, allocations: 149.3 kB / 1.224 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3738, allocations: 13.66 kB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3738, allocations: 0 / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3738, allocations: 0 / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.374, allocations: 23.98 kB / 1.224 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.374, allocations: 4 kB / 1.224 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.3741, allocations: 19.98 kB / 1.224 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3741, allocations: 4 kB / 1.224 GB, free: 7.012 MB / 0.9669 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.0001612/0.3742, allocations: 169.7 kB / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.3743, allocations: 35.77 kB / 1.224 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.3744, allocations: 39.22 kB / 1.224 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3744, allocations: 0 / 1.224 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3744, allocations: 0 / 1.224 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3744, allocations: 0 / 1.224 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3747, allocations: 309.5 kB / 1.225 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3747, allocations: 4 kB / 1.225 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.3748, allocations: 19.98 kB / 1.225 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3748, allocations: 0 / 1.225 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.3749, allocations: 0 / 1.225 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3749, allocations: 4 kB / 1.225 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3749, allocations: 0 / 1.225 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.3753, allocations: 263.1 kB / 1.225 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3754, allocations: 124.9 kB / 1.225 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.3754, allocations: 0 / 1.225 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3755, allocations: 4 kB / 1.225 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.3755, allocations: 7.984 kB / 1.225 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3755, allocations: 4 kB / 1.225 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000296/0.3758, allocations: 275.1 kB / 1.225 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3758, allocations: 3.938 kB / 1.225 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003013/0.3761, allocations: 51.83 kB / 1.225 GB, free: 5.633 MB / 0.9669 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.0001372/0.3763, allocations: 111.2 kB / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.3765, allocations: 63.91 kB / 1.225 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.3765, allocations: 4 kB / 1.225 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3766, allocations: 31.92 kB / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.377, allocations: 21.56 kB / 1.225 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.3782, allocations: 0.6758 MB / 1.226 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.3786, allocations: 0.7981 MB / 1.227 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.405e-05/0.3787, allocations: 20.56 kB / 1.227 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.3787, allocations: 15.44 kB / 1.227 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.3787, allocations: 0 / 1.227 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of Templates: time 0.005302/0.384, allocations: 1.313 MB / 1.228 GB, free: 2.531 MB / 0.9669 GB " [Timeout remaining time 300] 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: 8.447691892273724]