Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.0008994/0.0008994, allocations: 80.75 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.001003/0.001003, allocations: 181 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.01/1.01, 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.428/2.428, allocations: 438.8 MB / 0.6827 GB, free: 13.65 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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.649e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004514/0.004541, allocations: 2.658 MB / 0.8412 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002589/0.00713, allocations: 1.092 MB / 0.8423 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.007444, allocations: 4 kB / 0.8423 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.008196, allocations: 198.8 kB / 0.8425 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.008479, allocations: 99.12 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.009111, allocations: 179.6 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.009681, allocations: 411.6 kB / 0.8431 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.01001, allocations: 160.3 kB / 0.8433 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005692/0.01058, allocations: 239.4 kB / 0.8435 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.01077, allocations: 119.6 kB / 0.8436 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.01083, allocations: 36 kB / 0.8436 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.01118, allocations: 171.7 kB / 0.8438 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.01141, allocations: 255.2 kB / 0.844 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.0116, allocations: 187.3 kB / 0.8442 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007266/0.01232, allocations: 0.5872 MB / 0.8448 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.01233, allocations: 4 kB / 0.8448 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.582e-06/0.01233, allocations: 0 / 0.8448 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.01234, allocations: 4 kB / 0.8448 GB, free: 7.859 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0009097/0.01325, allocations: 1.018 MB / 0.8458 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.01328, allocations: 12.62 kB / 0.8458 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.01377, allocations: 176.7 kB / 0.846 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.01415, allocations: 441.8 kB / 0.8464 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.01416, allocations: 21.03 kB / 0.8464 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.0142, allocations: 36.36 kB / 0.8465 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.01452, allocations: 267.8 kB / 0.8467 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.01453, allocations: 192 / 0.8467 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.01455, allocations: 12.38 kB / 0.8467 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.01456, allocations: 8.375 kB / 0.8467 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.01469, allocations: 100.4 kB / 0.8468 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.01599, allocations: 0.8564 MB / 0.8477 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.01621, allocations: 156.1 kB / 0.8478 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.01626, allocations: 28.84 kB / 0.8478 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.01628, allocations: 11.95 kB / 0.8479 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.0163, allocations: 38.56 kB / 0.8479 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 2.234e-06/0.01631, allocations: 3.984 kB / 0.8479 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002463/0.01655, allocations: 151.4 kB / 0.848 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.01658, allocations: 55.41 kB / 0.8481 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.01716, allocations: 0.827 MB / 0.8489 GB, free: 3.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.01719, allocations: 33.7 kB / 0.8489 GB, free: 3.461 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.01733, allocations: 274.2 kB / 0.8492 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.01737, allocations: 75.36 kB / 0.8493 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.01743, allocations: 49.67 kB / 0.8493 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.01752, allocations: 321.9 kB / 0.8496 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.01756, allocations: 30.81 kB / 0.8496 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.01764, allocations: 69.12 kB / 0.8497 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.01776, allocations: 135.5 kB / 0.8498 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01777, allocations: 0 / 0.8498 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001963/0.01796, allocations: 176.3 kB / 0.85 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.01798, allocations: 5.719 kB / 0.85 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01798, allocations: 11.94 kB / 0.85 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.018, allocations: 0 / 0.85 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.01813, allocations: 51.91 kB / 0.8501 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.01814, allocations: 7.984 kB / 0.8501 GB, free: 2.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.01824, allocations: 31.94 kB / 0.8501 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.01825, allocations: 8 kB / 0.8501 GB, free: 2.18 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001197/0.01837, allocations: 128.5 kB / 0.8502 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.01843, allocations: 47.95 kB / 0.8503 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.01865, allocations: 179.3 kB / 0.8505 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01866, allocations: 4 kB / 0.8505 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01866, allocations: 4 kB / 0.8505 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01866, allocations: 0 / 0.8505 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.01933, allocations: 0.5918 MB / 0.851 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.01934, allocations: 4.188 kB / 0.8511 GB, free: 1.172 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.01945, allocations: 43.91 kB / 0.8511 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.01946, allocations: 4 kB / 0.8511 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01947, allocations: 7.984 kB / 0.8511 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01948, allocations: 4 kB / 0.8511 GB, free: 1.113 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.01948, allocations: 7.938 kB / 0.8511 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.01971, allocations: 319.3 kB / 0.8514 GB, free: 0.7578 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.01983, allocations: 95.41 kB / 0.8515 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.01987, allocations: 8 kB / 0.8515 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.01998, allocations: 7.984 kB / 0.8515 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.02002, allocations: 23.91 kB / 0.8516 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.02003, allocations: 4 kB / 0.8516 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003342/0.02036, allocations: 440.4 kB / 0.852 GB, free: 180 kB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.02036, allocations: 0 / 0.852 GB, free: 180 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002652/0.02063, allocations: 107.7 kB / 0.8521 GB, free: 72 kB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001786/0.02081, allocations: 96.34 kB / 0.8522 GB, free: 15.97 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.02098, allocations: 112.7 kB / 0.8523 GB, free: 15.86 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.02099, allocations: 8 kB / 0.8523 GB, free: 15.85 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.529e-05/0.02106, allocations: 58.92 kB / 0.8523 GB, free: 15.79 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.02135, allocations: 76.8 kB / 0.8524 GB, free: 15.71 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.02283, allocations: 1.212 MB / 0.8536 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.02298, allocations: 193.1 kB / 0.8538 GB, free: 14.24 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.02316, allocations: 84.53 kB / 0.8539 GB, free: 14.16 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.02333, allocations: 123.3 kB / 0.854 GB, free: 14.04 MB / 0.823 GB Notification: Performance of SimCode: time 6.91e-07/0.02333, allocations: 4 kB / 0.854 GB, free: 14.03 MB / 0.823 GB Notification: Performance of Templates: time 0.009612/0.03294, allocations: 5.802 MB / 0.8596 GB, free: 8.336 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.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.510670382995158]