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.001391/0.001391, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001528/0.001528, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.118/2.118, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.583e-06/1.583e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.307e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002805/0.002828, allocations: 2.488 MB / 0.8818 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006641/0.003492, allocations: 0.53 MB / 0.8824 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.003569, allocations: 4 kB / 0.8824 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.003859, allocations: 121 kB / 0.8825 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.003977, allocations: 101.5 kB / 0.8826 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.831e-05/0.004075, allocations: 43.94 kB / 0.8826 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.004256, allocations: 246.6 kB / 0.8829 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.0044, allocations: 82.41 kB / 0.8829 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.004557, allocations: 135.7 kB / 0.8831 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.004685, allocations: 67.75 kB / 0.8831 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.004714, allocations: 16 kB / 0.8831 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.698e-05/0.004741, allocations: 20 kB / 0.8832 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.004826, allocations: 79.69 kB / 0.8832 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.004902, allocations: 87.72 kB / 0.8833 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.005145, allocations: 212.8 kB / 0.8835 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.005148, allocations: 0 / 0.8835 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005149, allocations: 0 / 0.8835 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.005155, allocations: 0 / 0.8835 GB, free: 1.805 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.0009807/0.006136, allocations: 0.6862 MB / 0.8842 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.00619, allocations: 9.688 kB / 0.8842 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.006286, allocations: 56.66 kB / 0.8843 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.006596, allocations: 246.8 kB / 0.8845 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.006632, allocations: 12.38 kB / 0.8845 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.006672, allocations: 13.06 kB / 0.8845 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.00693, allocations: 108.2 kB / 0.8846 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.006945, allocations: 1.031 kB / 0.8846 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.006963, allocations: 8.375 kB / 0.8846 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.006971, allocations: 8.375 kB / 0.8846 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.007083, allocations: 48.27 kB / 0.8847 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007292/0.007812, allocations: 499.5 kB / 0.8852 GB, free: 36 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.008003, allocations: 51.05 kB / 0.8852 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.35e-05/0.008046, allocations: 35.7 kB / 0.8852 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.008056, allocations: 3.984 kB / 0.8853 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.008078, allocations: 37.39 kB / 0.8853 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.825e-06/0.008081, allocations: 4 kB / 0.8853 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001957/0.008277, allocations: 97.39 kB / 0.8854 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.008315, allocations: 55.41 kB / 0.8854 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.008704, allocations: 438.5 kB / 0.8859 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.008721, allocations: 25.7 kB / 0.8859 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.008922, allocations: 286.9 kB / 0.8862 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.008954, allocations: 35.72 kB / 0.8862 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.009003, allocations: 27.38 kB / 0.8862 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.00921, allocations: 0.5352 MB / 0.8867 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.009238, allocations: 8 kB / 0.8867 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-05/0.00929, allocations: 50.67 kB / 0.8868 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.122e-05/0.009381, allocations: 78.59 kB / 0.8869 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.009384, allocations: 0 / 0.8869 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001735/0.009557, allocations: 117.3 kB / 0.887 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.009577, allocations: 8 kB / 0.887 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.009583, allocations: 96 / 0.887 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.009595, allocations: 4 kB / 0.887 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.009719, allocations: 27.92 kB / 0.887 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.009723, allocations: 0 / 0.887 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.009791, allocations: 15.89 kB / 0.887 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.0098, allocations: 4 kB / 0.887 GB, free: 13.98 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 (12): * Single equations (assignments): 12 * 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.0001083/0.009908, allocations: 156.6 kB / 0.8872 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.009969, allocations: 47.69 kB / 0.8872 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.01002, allocations: 31.28 kB / 0.8873 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01003, allocations: 0 / 0.8873 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01003, allocations: 4 kB / 0.8873 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01004, allocations: 7.938 kB / 0.8873 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.01029, allocations: 193.1 kB / 0.8875 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.0103, allocations: 4 kB / 0.8875 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.0104, allocations: 15.98 kB / 0.8875 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.0104, allocations: 0 / 0.8875 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01041, allocations: 3.938 kB / 0.8875 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01042, allocations: 4 kB / 0.8875 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01042, allocations: 0 / 0.8875 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.01067, allocations: 251.7 kB / 0.8877 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.01073, allocations: 35.77 kB / 0.8878 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.01076, allocations: 11.91 kB / 0.8878 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.01084, allocations: 0 / 0.8878 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.01088, allocations: 11.98 kB / 0.8878 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.01088, allocations: 0 / 0.8878 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001991/0.01108, allocations: 271 kB / 0.888 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01108, allocations: 0 / 0.888 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002686/0.01135, allocations: 39.89 kB / 0.8881 GB, free: 12.87 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 (8): * Single equations (assignments): 8 * 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.0001269/0.01148, allocations: 103.2 kB / 0.8882 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.0116, allocations: 51.7 kB / 0.8882 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.0116, allocations: 4 kB / 0.8882 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/0.01164, allocations: 24.02 kB / 0.8883 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.01203, allocations: 37.5 kB / 0.8883 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.01317, allocations: 0.5862 MB / 0.8889 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.37e-05/0.01325, allocations: 103.3 kB / 0.889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.544e-05/0.01329, allocations: 16.64 kB / 0.889 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.01336, allocations: 86.2 kB / 0.8891 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.01336, allocations: 0 / 0.8891 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.005386/0.01875, allocations: 1.19 MB / 0.8902 GB, free: 10.62 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.3892980348318815]