Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002003/0.002003, allocations: 80.3 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.002405/0.002405, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.666/1.666, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.079/3.079, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 7.875 kB / 1 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.99e-05/4.254e-05, allocations: 6.219 kB / 1 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.006963/0.007006, allocations: 2.368 MB / 1.002 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.008691, allocations: 0.5159 MB / 1.003 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.008845, allocations: 4 kB / 1.003 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007166/0.009562, allocations: 124.4 kB / 1.003 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.009887, allocations: 99.2 kB / 1.003 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.0101, allocations: 35.95 kB / 1.003 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.01063, allocations: 258.5 kB / 1.003 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.01095, allocations: 80.12 kB / 1.004 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.0113, allocations: 127.7 kB / 1.004 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.01158, allocations: 75.73 kB / 1.004 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.587e-05/0.01165, allocations: 16 kB / 1.004 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.016e-05/0.01173, allocations: 20 kB / 1.004 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.01191, allocations: 79.69 kB / 1.004 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.01211, allocations: 95.7 kB / 1.004 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000709/0.01282, allocations: 326.9 kB / 1.004 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.01283, allocations: 0 / 1.004 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.084e-06/0.01283, allocations: 0 / 1.004 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.01285, allocations: 4 kB / 1.004 GB, free: 1.984 MB / 0.9044 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.00185/0.0147, allocations: 0.5779 MB / 1.005 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.01476, allocations: 8.031 kB / 1.005 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.01494, allocations: 44.66 kB / 1.005 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.01557, allocations: 255.8 kB / 1.005 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.01562, allocations: 12.38 kB / 1.005 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.01568, allocations: 12.38 kB / 1.005 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.01621, allocations: 142 kB / 1.005 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.01623, allocations: 192 / 1.005 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.01627, allocations: 8.312 kB / 1.005 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01627, allocations: 4.375 kB / 1.005 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.01673, allocations: 99.83 kB / 1.005 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.01813, allocations: 487.7 kB / 1.006 GB, free: 264 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.0186, allocations: 90.5 kB / 1.006 GB, free: 164 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.01882, allocations: 40.89 kB / 1.006 GB, free: 120 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.01885, allocations: 7.984 kB / 1.006 GB, free: 112 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.01889, allocations: 30.56 kB / 1.006 GB, free: 72 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.01889, allocations: 0 / 1.006 GB, free: 72 kB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0007042/0.0196, allocations: 145.4 kB / 1.006 GB, free: 15.92 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.01968, allocations: 59.34 kB / 1.006 GB, free: 15.85 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/0.02041, allocations: 390 kB / 1.007 GB, free: 15.46 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.02045, allocations: 25.7 kB / 1.007 GB, free: 15.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.02076, allocations: 224.2 kB / 1.007 GB, free: 15.21 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.02082, allocations: 35.7 kB / 1.007 GB, free: 15.18 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.02091, allocations: 25.7 kB / 1.007 GB, free: 15.14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002715/0.02118, allocations: 342.8 kB / 1.007 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.02132, allocations: 27.98 kB / 1.007 GB, free: 14.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.02151, allocations: 55.41 kB / 1.007 GB, free: 14.71 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.02184, allocations: 91.36 kB / 1.007 GB, free: 14.61 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.02184, allocations: 4 kB / 1.007 GB, free: 14.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004618/0.0223, allocations: 149.6 kB / 1.007 GB, free: 14.45 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.02233, allocations: 8 kB / 1.008 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.02235, allocations: 4.078 kB / 1.008 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.02237, allocations: 7.938 kB / 1.008 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.02258, allocations: 23.98 kB / 1.008 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.0226, allocations: 7.938 kB / 1.008 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.02276, allocations: 11.94 kB / 1.008 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.02278, allocations: 8.094 kB / 1.008 GB, free: 14.38 MB / 0.92 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.0002827/0.02306, allocations: 158.5 kB / 1.008 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.662e-05/0.02316, allocations: 39.7 kB / 1.008 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.02327, allocations: 43.27 kB / 1.008 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.02327, allocations: 0 / 1.008 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.02328, allocations: 0 / 1.008 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.02328, allocations: 3.938 kB / 1.008 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.02378, allocations: 233.2 kB / 1.008 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02378, allocations: 4 kB / 1.008 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.02401, allocations: 23.86 kB / 1.008 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/0.02402, allocations: 8 kB / 1.008 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.02404, allocations: 0 / 1.008 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02404, allocations: 0 / 1.008 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02404, allocations: 0 / 1.008 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.0247, allocations: 255.2 kB / 1.008 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.02482, allocations: 47.66 kB / 1.008 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.02486, allocations: 0 / 1.008 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.02505, allocations: 4 kB / 1.008 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.02511, allocations: 7.984 kB / 1.008 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.02512, allocations: 64 / 1.008 GB, free: 13.51 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005229/0.02564, allocations: 287.1 kB / 1.009 GB, free: 13.24 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.02564, allocations: 0 / 1.009 GB, free: 13.24 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005292/0.02617, allocations: 43.89 kB / 1.009 GB, free: 13.2 MB / 0.92 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.0002043/0.02638, allocations: 99.23 kB / 1.009 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003923/0.02677, allocations: 75.88 kB / 1.009 GB, free: 13.01 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.02677, allocations: 0 / 1.009 GB, free: 13.01 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.02692, allocations: 31.98 kB / 1.009 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.02759, allocations: 25.84 kB / 1.009 GB, free: 12.95 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.0296, allocations: 0.6259 MB / 1.01 GB, free: 12.3 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.02997, allocations: 195.9 kB / 1.01 GB, free: 12.09 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.03009, allocations: 12.64 kB / 1.01 GB, free: 12.08 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.03015, allocations: 16.5 kB / 1.01 GB, free: 12.07 MB / 0.92 GB Notification: Performance of SimCode: time 7.01e-07/0.03015, allocations: 0 / 1.01 GB, free: 12.07 MB / 0.92 GB Notification: Performance of Templates: time 0.008809/0.03896, allocations: 1.109 MB / 1.011 GB, free: 10.98 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.083210807293653]