Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008279/0.000828, allocations: 78.55 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.283e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1969, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6822/0.8791, allocations: 134.6 MB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.8794, allocations: 91.98 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02377/0.9032, allocations: 9.915 MB / 1.033 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9032, allocations: 0 / 1.033 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.9033, allocations: 12 kB / 1.033 GB, free: 7.227 MB / 0.6511 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.0007654/0.904, allocations: 0.7257 MB / 1.034 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.9041, allocations: 16.03 kB / 1.034 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004803/0.9046, allocations: 115 kB / 1.034 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.9052, allocations: 0.5191 MB / 1.034 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.9052, allocations: 7.562 kB / 1.034 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.9053, allocations: 11.25 kB / 1.034 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.9056, allocations: 220.7 kB / 1.035 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9056, allocations: 4 kB / 1.035 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.9057, allocations: 7.125 kB / 1.035 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.9057, allocations: 4 kB / 1.035 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.906, allocations: 254.9 kB / 1.035 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.9073, allocations: 0.9638 MB / 1.036 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.9079, allocations: 360.2 kB / 1.036 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.908, allocations: 120 kB / 1.036 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007067/0.9088, allocations: 328.5 kB / 1.037 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.9088, allocations: 34.55 kB / 1.037 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.9088, allocations: 4 kB / 1.037 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0004981/0.9093, allocations: 342.3 kB / 1.037 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.9094, allocations: 51.41 kB / 1.037 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.9104, allocations: 0.9005 MB / 1.038 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.9104, allocations: 25.7 kB / 1.038 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.9107, allocations: 342.8 kB / 1.038 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.9107, allocations: 29.05 kB / 1.038 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.9108, allocations: 4 kB / 1.038 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9109, allocations: 320.8 kB / 1.039 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.911, allocations: 108.2 kB / 1.039 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.9112, allocations: 106.6 kB / 1.039 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.9113, allocations: 114.9 kB / 1.039 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.9113, allocations: 0 / 1.039 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004272/0.9118, allocations: 331.9 kB / 1.039 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.9118, allocations: 8 kB / 1.039 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.9118, allocations: 0 / 1.039 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.9118, allocations: 0 / 1.039 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.912, allocations: 39.91 kB / 1.039 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.9121, allocations: 3.984 kB / 1.039 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.9122, allocations: 23.83 kB / 1.039 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.9123, allocations: 8.375 kB / 1.039 GB, free: 1.941 MB / 0.6511 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 () * 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 8.471e-05/0.9124, allocations: 112.3 kB / 1.039 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/0.9125, allocations: 71.06 kB / 1.039 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006656/0.9131, allocations: 408.7 kB / 1.04 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.9132, allocations: 0 / 1.04 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9132, allocations: 4 kB / 1.04 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.9132, allocations: 3.984 kB / 1.04 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/0.9137, allocations: 0.551 MB / 1.04 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9138, allocations: 0 / 1.04 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.914, allocations: 31.97 kB / 1.04 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.914, allocations: 0 / 1.04 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.914, allocations: 4 kB / 1.04 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.914, allocations: 3.984 kB / 1.04 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.914, allocations: 0 / 1.04 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.9145, allocations: 445.4 kB / 1.041 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.9148, allocations: 199.7 kB / 1.041 GB, free: 380 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.9148, allocations: 7.984 kB / 1.041 GB, free: 372 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.915, allocations: 11.98 kB / 1.041 GB, free: 360 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.9151, allocations: 11.25 kB / 1.041 GB, free: 352 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.9151, allocations: 19.92 kB / 1.041 GB, free: 332 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000814/0.9159, allocations: 0.7139 MB / 1.042 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.916, allocations: 0 / 1.042 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003422/0.9163, allocations: 74.88 kB / 1.042 GB, free: 15.73 MB / 0.6667 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 () * 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.0002682/0.9166, allocations: 152.1 kB / 1.042 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.9168, allocations: 199.2 kB / 1.042 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9169, allocations: 0 / 1.042 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.917, allocations: 98.97 kB / 1.042 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.9173, allocations: 62.75 kB / 1.042 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.9185, allocations: 0.8418 MB / 1.043 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.9191, allocations: 0.9634 MB / 1.044 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001986/0.9193, allocations: 73.28 kB / 1.044 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.9194, allocations: 31.44 kB / 1.044 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of SimCode: time 3.61e-07/0.9194, allocations: 0 / 1.044 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of Templates: time 0.0107/0.9301, allocations: 5.141 MB / 1.049 GB, free: 8.406 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches