Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.363/2.363, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001307/0.001307, allocations: 179.8 kB / 0.4902 GB, free: 2.289 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.66/1.66, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001004/0.001004, allocations: 92.2 kB / 0.9396 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 10.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2941, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.4952, allocations: 153 MB / 1.379 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4956, allocations: 87.94 kB / 1.379 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02452/0.5201, allocations: 10.04 MB / 1.389 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.006e-06/0.5201, allocations: 0 / 1.389 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.841e-05/0.5202, allocations: 8 kB / 1.389 GB, free: 6.406 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001457/0.5216, allocations: 0.8937 MB / 1.389 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.5217, allocations: 16.56 kB / 1.389 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/0.5223, allocations: 114.9 kB / 1.39 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.523, allocations: 0.5228 MB / 1.39 GB, free: 4.766 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.5231, allocations: 8 kB / 1.39 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.5231, allocations: 12 kB / 1.39 GB, free: 4.746 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.5236, allocations: 245.9 kB / 1.39 GB, free: 4.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5236, allocations: 3.984 kB / 1.39 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.5237, allocations: 8 kB / 1.39 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5237, allocations: 0 / 1.39 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000642/0.5243, allocations: 303.8 kB / 1.391 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.5258, allocations: 0.976 MB / 1.392 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/0.5268, allocations: 402.5 kB / 1.392 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008094/0.5276, allocations: 328.8 kB / 1.392 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.5277, allocations: 32.44 kB / 1.392 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.5277, allocations: 0 / 1.392 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.001218/0.5289, allocations: 0.5201 MB / 1.393 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.529, allocations: 51.41 kB / 1.393 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.5302, allocations: 0.903 MB / 1.394 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.5302, allocations: 37.64 kB / 1.394 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.5306, allocations: 343.8 kB / 1.394 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.5306, allocations: 27.64 kB / 1.394 GB, free: 484 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.5306, allocations: 8 kB / 1.394 GB, free: 476 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5308, allocations: 314 kB / 1.394 GB, free: 156 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.5311, allocations: 131.9 kB / 1.395 GB, free: 24 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.5314, allocations: 135.9 kB / 1.395 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.5317, allocations: 132.5 kB / 1.395 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5317, allocations: 0 / 1.395 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000753/0.5325, allocations: 400.3 kB / 1.395 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5325, allocations: 4 kB / 1.395 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5325, allocations: 4 kB / 1.395 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.5325, allocations: 0 / 1.395 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.5328, allocations: 31.97 kB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.5328, allocations: 4 kB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.533, allocations: 15.92 kB / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.533, allocations: 19.95 kB / 1.395 GB, free: 15.29 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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.000335/0.5334, allocations: 253.7 kB / 1.395 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.5335, allocations: 74.97 kB / 1.396 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009928/0.5345, allocations: 448.5 kB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5345, allocations: 4 kB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5345, allocations: 0 / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5345, allocations: 0 / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006441/0.5352, allocations: 0.548 MB / 1.397 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5352, allocations: 3.938 kB / 1.397 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.5354, allocations: 31.97 kB / 1.397 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5354, allocations: 3.984 kB / 1.397 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.5354, allocations: 8 kB / 1.397 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5354, allocations: 0 / 1.397 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5355, allocations: 8 kB / 1.397 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.5362, allocations: 494.3 kB / 1.397 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.5366, allocations: 208 kB / 1.397 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.5366, allocations: 0 / 1.397 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.5368, allocations: 11.98 kB / 1.397 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.5369, allocations: 7.984 kB / 1.397 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.5369, allocations: 16 kB / 1.397 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009174/0.5378, allocations: 0.7254 MB / 1.398 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5379, allocations: 0 / 1.398 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003898/0.5383, allocations: 72 kB / 1.398 GB, free: 12.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (9): * Single equations (assignments): 9 * 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.0003216/0.5386, allocations: 157 kB / 1.398 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00059/0.5392, allocations: 239.9 kB / 1.398 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5392, allocations: 0 / 1.398 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.5395, allocations: 135.9 kB / 1.399 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.5398, allocations: 47.27 kB / 1.399 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.5417, allocations: 1.29 MB / 1.4 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/0.5424, allocations: 0.9573 MB / 1.401 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.5426, allocations: 77.69 kB / 1.401 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.5427, allocations: 31.44 kB / 1.401 GB, free: 9.316 MB / 0.9011 GB Notification: Performance of SimCode: time 4.01e-07/0.5427, allocations: 0 / 1.401 GB, free: 9.316 MB / 0.9011 GB Notification: Performance of Templates: time 0.01044/0.5531, allocations: 4.947 MB / 1.406 GB, free: 4.375 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches