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.001647/0.001647, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001655/0.001655, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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.044/1.044, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 2.292/2.292, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 1.904e-06/1.904e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.911e-05/4.102e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003774/0.003815, allocations: 2.513 MB / 0.8807 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.004874, allocations: 0.5324 MB / 0.8812 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.004992, allocations: 7.938 kB / 0.8812 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.005403, allocations: 121.9 kB / 0.8813 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.005549, allocations: 100.2 kB / 0.8814 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.005698, allocations: 39.95 kB / 0.8814 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.005993, allocations: 265.9 kB / 0.8817 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.006196, allocations: 67.67 kB / 0.8817 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.006403, allocations: 131.7 kB / 0.8819 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.006555, allocations: 79.73 kB / 0.882 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.0066, allocations: 16 kB / 0.882 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.924e-05/0.00663, allocations: 20 kB / 0.882 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.006723, allocations: 83.69 kB / 0.8821 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.006807, allocations: 83.73 kB / 0.8821 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.007107, allocations: 219 kB / 0.8824 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.007115, allocations: 1.188 kB / 0.8824 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/0.007116, allocations: 0 / 0.8824 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.007124, allocations: 0 / 0.8824 GB, free: 2.383 MB / 0.8386 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.0007776/0.007902, allocations: 0.6871 MB / 0.883 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.007952, allocations: 9.125 kB / 0.883 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.662e-05/0.008039, allocations: 64.66 kB / 0.8831 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.008349, allocations: 246.7 kB / 0.8833 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.008376, allocations: 16.38 kB / 0.8833 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.008412, allocations: 16.38 kB / 0.8834 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.008628, allocations: 115.3 kB / 0.8835 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.00864, allocations: 4.188 kB / 0.8835 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.008656, allocations: 4.375 kB / 0.8835 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.008675, allocations: 8.359 kB / 0.8835 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.008789, allocations: 61.03 kB / 0.8835 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.009498, allocations: 0.5654 MB / 0.8841 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.009717, allocations: 71.08 kB / 0.8842 GB, free: 420 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.009773, allocations: 27.69 kB / 0.8842 GB, free: 388 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.009786, allocations: 7.984 kB / 0.8842 GB, free: 380 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.009813, allocations: 37.33 kB / 0.8842 GB, free: 332 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 3.527e-06/0.009816, allocations: 0 / 0.8842 GB, free: 332 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002373/0.01005, allocations: 117.4 kB / 0.8843 GB, free: 208 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.01009, allocations: 51.41 kB / 0.8844 GB, free: 144 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.01041, allocations: 438.7 kB / 0.8848 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.01043, allocations: 33.7 kB / 0.8848 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.01059, allocations: 283 kB / 0.8851 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.01061, allocations: 27.75 kB / 0.8851 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.01066, allocations: 35.36 kB / 0.8852 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.01082, allocations: 0.5313 MB / 0.8857 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.01086, allocations: 12 kB / 0.8857 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.01091, allocations: 58.73 kB / 0.8858 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.01101, allocations: 82.98 kB / 0.8858 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01101, allocations: 0 / 0.8858 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001722/0.01118, allocations: 125.3 kB / 0.886 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.01121, allocations: 8 kB / 0.886 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.01122, allocations: 0 / 0.886 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01123, allocations: 0 / 0.886 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.606e-05/0.01133, allocations: 27.92 kB / 0.886 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.01134, allocations: 4 kB / 0.886 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.01138, allocations: 3.953 kB / 0.886 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.01139, allocations: 8.078 kB / 0.886 GB, free: 14.4 MB / 0.8542 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.0001028/0.01149, allocations: 168.5 kB / 0.8862 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.01153, allocations: 43.7 kB / 0.8862 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.01159, allocations: 35.28 kB / 0.8862 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01159, allocations: 0 / 0.8862 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.0116, allocations: 0 / 0.8862 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.0116, allocations: 0 / 0.8862 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.01185, allocations: 272.5 kB / 0.8865 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.01185, allocations: 3.938 kB / 0.8865 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.01194, allocations: 23.88 kB / 0.8865 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01194, allocations: 0 / 0.8865 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.01195, allocations: 4 kB / 0.8865 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01196, allocations: 4 kB / 0.8865 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.01196, allocations: 7.984 kB / 0.8866 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.0122, allocations: 263.6 kB / 0.8868 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.01225, allocations: 43.69 kB / 0.8868 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.01227, allocations: 4 kB / 0.8868 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.01233, allocations: 0 / 0.8868 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.01237, allocations: 7.984 kB / 0.8869 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.01238, allocations: 4 kB / 0.8869 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001861/0.01256, allocations: 283.1 kB / 0.8871 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01256, allocations: 4.031 kB / 0.8871 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001986/0.01276, allocations: 43.89 kB / 0.8872 GB, free: 13.15 MB / 0.8542 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.0001156/0.01288, allocations: 95.25 kB / 0.8873 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.01302, allocations: 59.53 kB / 0.8873 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01302, allocations: 0 / 0.8873 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.611e-05/0.01306, allocations: 31.67 kB / 0.8874 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.01333, allocations: 21.84 kB / 0.8874 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.01443, allocations: 0.594 MB / 0.888 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.418e-05/0.01451, allocations: 103.8 kB / 0.8881 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.925e-05/0.01456, allocations: 16.64 kB / 0.8881 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.0146, allocations: 12.5 kB / 0.8881 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of SimCode: time 1.303e-06/0.0146, allocations: 0 / 0.8881 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.00434/0.01894, allocations: 1.132 MB / 0.8892 GB, free: 11.05 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9495805280748755]