Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00138/0.00138, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001561/0.001561, allocations: 161 kB / 24.16 MB, free: 336 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 0.938/0.938, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.862/1.862, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 3.984 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.232e-05, allocations: 2.312 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003243/0.003265, allocations: 2.662 MB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.00482, allocations: 1.104 MB / 0.7637 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.004986, allocations: 4 kB / 0.7637 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000482/0.005468, allocations: 195.3 kB / 0.7639 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.005636, allocations: 103.8 kB / 0.764 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.006081, allocations: 188.8 kB / 0.7642 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.006431, allocations: 407.6 kB / 0.7646 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.006669, allocations: 153.8 kB / 0.7647 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.00689, allocations: 235.4 kB / 0.7649 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.007019, allocations: 123.5 kB / 0.7651 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.007062, allocations: 36.75 kB / 0.7651 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.0073, allocations: 175.6 kB / 0.7653 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.007463, allocations: 256 kB / 0.7655 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.007587, allocations: 187.3 kB / 0.7657 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008189/0.008406, allocations: 0.5956 MB / 0.7663 GB, free: 264 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.00841, allocations: 1.688 kB / 0.7663 GB, free: 264 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/0.008411, allocations: 0 / 0.7663 GB, free: 264 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.008417, allocations: 0 / 0.7663 GB, free: 264 kB / 0.7136 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.0009456/0.009363, allocations: 1.02 MB / 0.7673 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.009397, allocations: 11.97 kB / 0.7673 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.009892, allocations: 185.8 kB / 0.7675 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.01028, allocations: 437.9 kB / 0.7679 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.0103, allocations: 21.03 kB / 0.7679 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.01033, allocations: 32.38 kB / 0.7679 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.01067, allocations: 268.5 kB / 0.7682 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.01068, allocations: 1.344 kB / 0.7682 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.0107, allocations: 12.38 kB / 0.7682 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.01071, allocations: 4.375 kB / 0.7682 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.01084, allocations: 99.64 kB / 0.7683 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.01216, allocations: 0.8563 MB / 0.7691 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.01239, allocations: 153.9 kB / 0.7693 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.01244, allocations: 35.59 kB / 0.7693 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.01246, allocations: 8 kB / 0.7693 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.01249, allocations: 38.5 kB / 0.7694 GB, free: 13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.893e-06/0.01249, allocations: 4 kB / 0.7694 GB, free: 13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0002531/0.01274, allocations: 154.3 kB / 0.7695 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.01277, allocations: 51.41 kB / 0.7696 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.01335, allocations: 0.8232 MB / 0.7704 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.01338, allocations: 29.7 kB / 0.7704 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.01352, allocations: 278.1 kB / 0.7707 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.01357, allocations: 64.11 kB / 0.7707 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.01363, allocations: 61.66 kB / 0.7708 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.01371, allocations: 326.6 kB / 0.7711 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.01377, allocations: 31.34 kB / 0.7711 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.01384, allocations: 74.75 kB / 0.7712 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.01397, allocations: 118.4 kB / 0.7713 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01397, allocations: 0.5312 kB / 0.7713 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002103/0.01418, allocations: 178.5 kB / 0.7715 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.0142, allocations: 9.156 kB / 0.7715 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01421, allocations: 0 / 0.7715 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.01422, allocations: 4 kB / 0.7715 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.01437, allocations: 61.22 kB / 0.7715 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.01438, allocations: 0 / 0.7715 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01448, allocations: 36.36 kB / 0.7716 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.01449, allocations: 5.219 kB / 0.7716 GB, free: 10.63 MB / 0.7292 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.0001219/0.01462, allocations: 132.5 kB / 0.7717 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.01467, allocations: 52.84 kB / 0.7718 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.01491, allocations: 189 kB / 0.7719 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01492, allocations: 4 kB / 0.7719 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01492, allocations: 0.9688 kB / 0.7719 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01492, allocations: 0 / 0.7719 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/0.0155, allocations: 0.581 MB / 0.7725 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.0155, allocations: 0 / 0.7725 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.01561, allocations: 48.91 kB / 0.7726 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.01562, allocations: 0 / 0.7726 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01563, allocations: 4 kB / 0.7726 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01563, allocations: 9.703 kB / 0.7726 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01564, allocations: 3.938 kB / 0.7726 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.01586, allocations: 321.7 kB / 0.7729 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/0.01628, allocations: 99.39 kB / 0.773 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.01632, allocations: 4 kB / 0.773 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.01643, allocations: 12.62 kB / 0.773 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.01647, allocations: 27.84 kB / 0.773 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.01649, allocations: 9.953 kB / 0.773 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003188/0.0168, allocations: 436.4 kB / 0.7734 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.0168, allocations: 0 / 0.7734 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002632/0.01707, allocations: 103.7 kB / 0.7735 GB, free: 8.523 MB / 0.7292 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.0001726/0.01724, allocations: 102.4 kB / 0.7736 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.01741, allocations: 114.2 kB / 0.7737 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.01742, allocations: 8 kB / 0.7738 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.01748, allocations: 60.47 kB / 0.7738 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.01777, allocations: 68.5 kB / 0.7739 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.01909, allocations: 1.21 MB / 0.7751 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.01921, allocations: 189.2 kB / 0.7752 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001804/0.01939, allocations: 83.81 kB / 0.7753 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.01955, allocations: 127.3 kB / 0.7754 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.01955, allocations: 0 / 0.7754 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.01069/0.03024, allocations: 5.821 MB / 0.7811 GB, free: 0.8672 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.081103099044412]