Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 171.1 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.729/1.729, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 88.34 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003572, allocations: 13.94 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.4743, allocations: 154 MB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4746, allocations: 79.95 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03219/0.5068, allocations: 12.3 MB / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5068, allocations: 0 / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.456e-05/0.5069, allocations: 16 kB / 1.385 GB, free: 11.56 MB / 0.8855 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.002065/0.5089, allocations: 1.022 MB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.509, allocations: 8.031 kB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.5103, allocations: 242.6 kB / 1.387 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.5114, allocations: 0.5499 MB / 1.387 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.5114, allocations: 20.66 kB / 1.387 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/0.5115, allocations: 32 kB / 1.387 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.5127, allocations: 457.8 kB / 1.388 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5127, allocations: 0 / 1.388 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.5128, allocations: 12 kB / 1.388 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.5128, allocations: 8 kB / 1.388 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.5143, allocations: 0.5412 MB / 1.388 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/0.5195, allocations: 2.216 MB / 1.39 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.5207, allocations: 362.7 kB / 1.391 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.5208, allocations: 23.98 kB / 1.391 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5208, allocations: 34.56 kB / 1.391 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 2.925e-06/0.5209, allocations: 3.938 kB / 1.391 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.001757/0.5226, allocations: 0.5523 MB / 1.391 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.5227, allocations: 51.41 kB / 1.391 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.5247, allocations: 1.134 MB / 1.392 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.5248, allocations: 33.7 kB / 1.392 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.5252, allocations: 412.6 kB / 1.393 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.501e-05/0.5253, allocations: 67 kB / 1.393 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.5253, allocations: 8 kB / 1.393 GB, free: 3.527 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5255, allocations: 317.9 kB / 1.393 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/0.5261, allocations: 239.8 kB / 1.393 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.5267, allocations: 257.4 kB / 1.394 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.5273, allocations: 222.1 kB / 1.394 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.5273, allocations: 3.984 kB / 1.394 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001468/0.5288, allocations: 0.5938 MB / 1.395 GB, free: 1.898 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5288, allocations: 4 kB / 1.395 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5288, allocations: 8 kB / 1.395 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5289, allocations: 0 / 1.395 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.5293, allocations: 83.86 kB / 1.395 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.5293, allocations: 0 / 1.395 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.5298, allocations: 63.64 kB / 1.395 GB, free: 1.742 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.5299, allocations: 19.98 kB / 1.395 GB, free: 1.723 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004514/0.5303, allocations: 269.6 kB / 1.395 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.5305, allocations: 86.88 kB / 1.395 GB, free: 1.363 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.5318, allocations: 458.8 kB / 1.395 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5318, allocations: 0 / 1.395 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5319, allocations: 4 kB / 1.395 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5319, allocations: 7.984 kB / 1.395 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.5344, allocations: 1.226 MB / 1.397 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.5344, allocations: 4.031 kB / 1.397 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.5348, allocations: 67.94 kB / 1.397 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5348, allocations: 4 kB / 1.397 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.5348, allocations: 8 kB / 1.397 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.5348, allocations: 7.938 kB / 1.397 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5349, allocations: 11.92 kB / 1.397 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.5361, allocations: 0.6276 MB / 1.397 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.5366, allocations: 231.9 kB / 1.398 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.817e-05/0.5367, allocations: 8 kB / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.5371, allocations: 47.94 kB / 1.398 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.5372, allocations: 19.94 kB / 1.398 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.5372, allocations: 15.98 kB / 1.398 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001351/0.5386, allocations: 0.8921 MB / 1.399 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5386, allocations: 0 / 1.399 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005557/0.5392, allocations: 131.7 kB / 1.399 GB, free: 13.43 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/0.5396, allocations: 167.9 kB / 1.399 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.5407, allocations: 389.9 kB / 1.399 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5407, allocations: 0 / 1.399 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005329/0.5413, allocations: 179.8 kB / 1.399 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.5417, allocations: 64.67 kB / 1.399 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.5448, allocations: 1.616 MB / 1.401 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007929/0.5456, allocations: 1.021 MB / 1.402 GB, free: 9.934 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003425/0.546, allocations: 94.95 kB / 1.402 GB, free: 9.84 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.5461, allocations: 51.36 kB / 1.402 GB, free: 9.793 MB / 0.9011 GB Notification: Performance of SimCode: time 3.2e-07/0.5462, allocations: 4 kB / 1.402 GB, free: 9.789 MB / 0.9011 GB Notification: Performance of Templates: time 0.01588/0.562, allocations: 6.726 MB / 1.409 GB, free: 3.07 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches