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.0009966/0.0009966, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001141/0.001141, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.375/2.375, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.683e-06/1.683e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.795e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004169/0.004197, allocations: 2.48 MB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.005366, allocations: 0.5469 MB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.005491, allocations: 7.938 kB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.005906, allocations: 124.3 kB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.006105, allocations: 99.2 kB / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.006255, allocations: 47.88 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.006532, allocations: 250.6 kB / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.006717, allocations: 74.28 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.006938, allocations: 143.7 kB / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.007091, allocations: 75.69 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.007131, allocations: 16 kB / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.812e-05/0.007169, allocations: 16 kB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.007266, allocations: 79.69 kB / 0.8425 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.007361, allocations: 83.72 kB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.007649, allocations: 203.1 kB / 0.8427 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.007653, allocations: 0 / 0.8427 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.112e-06/0.007654, allocations: 0 / 0.8427 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.007659, allocations: 0 / 0.8427 GB, free: 9.941 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.0009635/0.008623, allocations: 0.5491 MB / 0.8433 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.008665, allocations: 12.62 kB / 0.8433 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.00873, allocations: 32.91 kB / 0.8433 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.008984, allocations: 232 kB / 0.8435 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.009009, allocations: 12.12 kB / 0.8435 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.009042, allocations: 16.38 kB / 0.8436 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.009237, allocations: 106.9 kB / 0.8437 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.009251, allocations: 4.188 kB / 0.8437 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.009264, allocations: 12.38 kB / 0.8437 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.009274, allocations: 4.375 kB / 0.8437 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.875e-05/0.009362, allocations: 41.17 kB / 0.8437 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.009912, allocations: 335.5 kB / 0.844 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.01004, allocations: 42.55 kB / 0.8441 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.01009, allocations: 24.83 kB / 0.8441 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.0101, allocations: 7.938 kB / 0.8441 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.01013, allocations: 42.56 kB / 0.8441 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 3.025e-06/0.01013, allocations: 7.922 kB / 0.8442 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001632/0.01029, allocations: 73.66 kB / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.01033, allocations: 55.41 kB / 0.8443 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.01059, allocations: 327.3 kB / 0.8446 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.01061, allocations: 25.7 kB / 0.8446 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.0107, allocations: 165.2 kB / 0.8448 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.01073, allocations: 35.72 kB / 0.8448 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.01077, allocations: 21.72 kB / 0.8448 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.01089, allocations: 350.7 kB / 0.8452 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.01091, allocations: 12 kB / 0.8452 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.293e-05/0.01095, allocations: 39.36 kB / 0.8452 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.538e-05/0.01103, allocations: 55.34 kB / 0.8453 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01103, allocations: 0 / 0.8453 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001301/0.01116, allocations: 85.53 kB / 0.8453 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.01118, allocations: 7.984 kB / 0.8454 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01118, allocations: 4.094 kB / 0.8454 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.0112, allocations: 4 kB / 0.8454 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.01129, allocations: 19.94 kB / 0.8454 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.0113, allocations: 7.984 kB / 0.8454 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.01136, allocations: 15.89 kB / 0.8454 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.01137, allocations: 0 / 0.8454 GB, free: 7.016 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 9.738e-05/0.01146, allocations: 116.7 kB / 0.8455 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.01151, allocations: 19.92 kB / 0.8455 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.01156, allocations: 39.27 kB / 0.8456 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01156, allocations: 3.938 kB / 0.8456 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01156, allocations: 4 kB / 0.8456 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01157, allocations: 3.938 kB / 0.8456 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.01178, allocations: 149.8 kB / 0.8457 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01178, allocations: 0 / 0.8457 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-05/0.01187, allocations: 15.98 kB / 0.8457 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01187, allocations: 0 / 0.8457 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01188, allocations: 7.938 kB / 0.8457 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01188, allocations: 0 / 0.8457 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01188, allocations: 0 / 0.8457 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.01208, allocations: 179.5 kB / 0.8459 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.01214, allocations: 39.72 kB / 0.846 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.01217, allocations: 7.875 kB / 0.846 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.01225, allocations: 8 kB / 0.846 GB, free: 6.391 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.01228, allocations: 3.984 kB / 0.846 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.01228, allocations: 4 kB / 0.846 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001437/0.01243, allocations: 136.7 kB / 0.8461 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01243, allocations: 0 / 0.8461 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002704/0.0127, allocations: 39.89 kB / 0.8461 GB, free: 6.207 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 0.0001136/0.01281, allocations: 80.42 kB / 0.8462 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.01292, allocations: 44.77 kB / 0.8463 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.01293, allocations: 4 kB / 0.8463 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.01296, allocations: 24.78 kB / 0.8463 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.01323, allocations: 38.08 kB / 0.8463 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.01431, allocations: 0.5912 MB / 0.8469 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.695e-05/0.0144, allocations: 103.3 kB / 0.847 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.088e-05/0.01446, allocations: 12.64 kB / 0.847 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.01454, allocations: 71.34 kB / 0.8471 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/0.01454, allocations: 0 / 0.8471 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of Templates: time 0.00515/0.01969, allocations: 1.146 MB / 0.8482 GB, free: 4.055 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 -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.4029571819119155]