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.001024/0.001024, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001083/0.001083, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.486/2.486, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.302e-06/1.302e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.237e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002871/0.002893, allocations: 2.528 MB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.003734, allocations: 0.5468 MB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.003825, allocations: 4 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.004133, allocations: 128.4 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.004262, allocations: 95.16 kB / 0.8419 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 9.995e-05/0.004362, allocations: 43.94 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.004563, allocations: 254.5 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.004701, allocations: 70.3 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.004862, allocations: 147.6 kB / 0.8424 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.004971, allocations: 67.8 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.004997, allocations: 20 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.438e-05/0.005021, allocations: 16 kB / 0.8425 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.005084, allocations: 79.69 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.005147, allocations: 87.66 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.005352, allocations: 211.1 kB / 0.8428 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005355, allocations: 0 / 0.8428 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005356, allocations: 3.938 kB / 0.8428 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.005361, allocations: 0 / 0.8428 GB, free: 9.855 MB / 0.8073 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.0004653/0.005826, allocations: 0.5414 MB / 0.8433 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.005858, allocations: 12.61 kB / 0.8434 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.005907, allocations: 40.91 kB / 0.8434 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.006092, allocations: 231.9 kB / 0.8436 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.006109, allocations: 12.12 kB / 0.8436 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.006131, allocations: 16.38 kB / 0.8436 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.006273, allocations: 106.9 kB / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.006282, allocations: 192 / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.006293, allocations: 8.375 kB / 0.8438 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.0063, allocations: 12.36 kB / 0.8438 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.434e-05/0.006364, allocations: 41.22 kB / 0.8438 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.006773, allocations: 331.6 kB / 0.8441 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.006873, allocations: 38.56 kB / 0.8442 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.006902, allocations: 24.84 kB / 0.8442 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.006911, allocations: 7.938 kB / 0.8442 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.006929, allocations: 30.56 kB / 0.8442 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.00693, allocations: 4 kB / 0.8442 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.000122/0.007052, allocations: 77.59 kB / 0.8443 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.007079, allocations: 55.41 kB / 0.8443 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.007258, allocations: 331.3 kB / 0.8447 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.007269, allocations: 25.7 kB / 0.8447 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.007337, allocations: 165.2 kB / 0.8448 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.007355, allocations: 31.73 kB / 0.8449 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.007392, allocations: 29.64 kB / 0.8449 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.007479, allocations: 350.7 kB / 0.8452 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.007496, allocations: 11.98 kB / 0.8453 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.007524, allocations: 35.44 kB / 0.8453 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.118e-05/0.007575, allocations: 55.33 kB / 0.8453 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.007577, allocations: 0 / 0.8453 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.252e-05/0.00767, allocations: 93.47 kB / 0.8454 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.007681, allocations: 4 kB / 0.8454 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.007687, allocations: 0 / 0.8454 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.0077, allocations: 12.09 kB / 0.8454 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.007811, allocations: 23.98 kB / 0.8455 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.007813, allocations: 0 / 0.8455 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.007852, allocations: 19.81 kB / 0.8455 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.007858, allocations: 4 kB / 0.8455 GB, free: 6.934 MB / 0.8073 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 6.722e-05/0.007925, allocations: 116.7 kB / 0.8456 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.007953, allocations: 19.92 kB / 0.8456 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.00799, allocations: 39.27 kB / 0.8457 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007991, allocations: 0 / 0.8457 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.007993, allocations: 0 / 0.8457 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.007996, allocations: 4 kB / 0.8457 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.008138, allocations: 145.8 kB / 0.8458 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.008139, allocations: 0 / 0.8458 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.345e-05/0.008213, allocations: 19.98 kB / 0.8458 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.008216, allocations: 7.938 kB / 0.8458 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.008223, allocations: 4 kB / 0.8458 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008224, allocations: 0 / 0.8458 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.008226, allocations: 3.938 kB / 0.8458 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.008366, allocations: 179.5 kB / 0.846 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.008402, allocations: 31.73 kB / 0.846 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.008421, allocations: 19.88 kB / 0.8461 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.64e-05/0.008467, allocations: 0 / 0.8461 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.008494, allocations: 7.984 kB / 0.8461 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.008497, allocations: 0 / 0.8461 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.372e-05/0.008591, allocations: 140.7 kB / 0.8462 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008591, allocations: 0 / 0.8462 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001551/0.008746, allocations: 43.89 kB / 0.8462 GB, free: 6.121 MB / 0.8073 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 7.445e-05/0.008821, allocations: 84.34 kB / 0.8463 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.892e-05/0.0089, allocations: 48.77 kB / 0.8464 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.008905, allocations: 4 kB / 0.8464 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.177e-05/0.008926, allocations: 20.86 kB / 0.8464 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.009096, allocations: 21.92 kB / 0.8464 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.009858, allocations: 0.5952 MB / 0.847 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.99e-05/0.009918, allocations: 103.3 kB / 0.8471 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.396e-05/0.009962, allocations: 12.64 kB / 0.8471 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.01002, allocations: 67.38 kB / 0.8472 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.01002, allocations: 0 / 0.8472 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of Templates: time 0.003898/0.01392, allocations: 1.203 MB / 0.8483 GB, free: 3.93 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.293836255092174]