Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.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_9_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_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.00126/0.001259, allocations: 187.3 kB / 498.1 MB, free: 5.754 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.652/1.652, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.001054/0.001054, allocations: 96.2 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 10.44 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3292, allocations: 142.3 MB / 1.223 GB, free: 89.61 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.5291, allocations: 152.2 MB / 1.371 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5293, allocations: 87.94 kB / 1.372 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02491/0.5543, allocations: 10.04 MB / 1.381 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5543, allocations: 0 / 1.381 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.5543, allocations: 12 kB / 1.381 GB, free: 6.957 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.001242/0.5556, allocations: 0.8894 MB / 1.382 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.5557, allocations: 8.031 kB / 1.382 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005365/0.5562, allocations: 122.9 kB / 1.382 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.5569, allocations: 0.5188 MB / 1.383 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.557, allocations: 11.94 kB / 1.383 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.557, allocations: 15.98 kB / 1.383 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.5575, allocations: 242.5 kB / 1.383 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5576, allocations: 4 kB / 1.383 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.5576, allocations: 8 kB / 1.383 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.5576, allocations: 4 kB / 1.383 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006311/0.5582, allocations: 303.8 kB / 1.383 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.5597, allocations: 0.9644 MB / 1.384 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.5606, allocations: 398.3 kB / 1.385 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007281/0.5613, allocations: 337 kB / 1.385 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.5614, allocations: 42.56 kB / 1.385 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.5614, allocations: 0 / 1.385 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.001081/0.5625, allocations: 0.5083 MB / 1.386 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.5625, allocations: 63.28 kB / 1.386 GB, free: 2.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.5637, allocations: 0.9147 MB / 1.387 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.5637, allocations: 25.7 kB / 1.387 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.5641, allocations: 351.8 kB / 1.387 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.5641, allocations: 31.55 kB / 1.387 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.5641, allocations: 0 / 1.387 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5643, allocations: 314 kB / 1.387 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.5645, allocations: 131.9 kB / 1.387 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.5648, allocations: 135.9 kB / 1.388 GB, free: 448 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.5651, allocations: 135.9 kB / 1.388 GB, free: 312 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5651, allocations: 0 / 1.388 GB, free: 312 kB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007202/0.5658, allocations: 388.5 kB / 1.388 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5659, allocations: 4 kB / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5659, allocations: 4 kB / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.5659, allocations: 0 / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.5661, allocations: 31.97 kB / 1.388 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5661, allocations: 0 / 1.388 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.5663, allocations: 23.89 kB / 1.388 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.5664, allocations: 16.61 kB / 1.388 GB, free: 15.84 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.0002854/0.5667, allocations: 251.4 kB / 1.388 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-05/0.5668, allocations: 71.06 kB / 1.388 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009509/0.5677, allocations: 456.5 kB / 1.389 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5677, allocations: 0 / 1.389 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5678, allocations: 4 kB / 1.389 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/0.5678, allocations: 3.984 kB / 1.389 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.5684, allocations: 0.5517 MB / 1.389 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5684, allocations: 4 kB / 1.389 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.5686, allocations: 31.98 kB / 1.389 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5686, allocations: 0 / 1.389 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.5686, allocations: 7.984 kB / 1.389 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5687, allocations: 0 / 1.389 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5687, allocations: 0 / 1.389 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/0.5694, allocations: 494.2 kB / 1.39 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.5697, allocations: 196.1 kB / 1.39 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.5698, allocations: 3.984 kB / 1.39 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.57, allocations: 19.98 kB / 1.39 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.5701, allocations: 8 kB / 1.39 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.5701, allocations: 11.98 kB / 1.39 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009149/0.571, allocations: 0.7215 MB / 1.391 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/0.571, allocations: 0 / 1.391 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004008/0.5714, allocations: 83.84 kB / 1.391 GB, free: 12.85 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.0003343/0.5718, allocations: 156.2 kB / 1.391 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.5723, allocations: 240 kB / 1.391 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5723, allocations: 4 kB / 1.391 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.5726, allocations: 127.9 kB / 1.391 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.5729, allocations: 51.27 kB / 1.391 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.5747, allocations: 1.279 MB / 1.393 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.5753, allocations: 0.9704 MB / 1.394 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.5755, allocations: 73.28 kB / 1.394 GB, free: 9.902 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.5756, allocations: 31.44 kB / 1.394 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of SimCode: time 2.3e-07/0.5756, allocations: 0 / 1.394 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of Templates: time 0.01085/0.5865, allocations: 4.935 MB / 1.399 GB, free: 4.941 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches