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.244/2.244, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001037/0.001037, allocations: 182.4 kB / 492.3 MB, free: 0.625 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.592/1.592, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0009208/0.0009208, allocations: 94.06 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.163e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2776, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.939/1.217, allocations: 152.1 MB / 1.361 GB, free: 19.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/1.217, allocations: 85.09 kB / 1.361 GB, free: 19.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02128/1.238, allocations: 10.03 MB / 1.371 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.502e-06/1.238, allocations: 0 / 1.371 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.413e-05/1.238, allocations: 11.53 kB / 1.371 GB, free: 33.63 MB / 0.8386 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.0005894/1.239, allocations: 0.7277 MB / 1.372 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.239, allocations: 7.719 kB / 1.372 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000451/1.239, allocations: 118.7 kB / 1.372 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/1.24, allocations: 0.5177 MB / 1.372 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/1.24, allocations: 11 kB / 1.372 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/1.24, allocations: 10.78 kB / 1.372 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/1.24, allocations: 213.4 kB / 1.372 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.24, allocations: 0 / 1.372 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/1.24, allocations: 3.875 kB / 1.372 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.24, allocations: 6.625 kB / 1.372 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/1.241, allocations: 251.5 kB / 1.373 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/1.242, allocations: 0.9712 MB / 1.374 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/1.242, allocations: 357.6 kB / 1.374 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/1.242, allocations: 122.3 kB / 1.374 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/1.243, allocations: 336.3 kB / 1.374 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/1.243, allocations: 37.12 kB / 1.374 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/1.243, allocations: 0 / 1.374 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0004306/1.243, allocations: 335.3 kB / 1.375 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/1.243, allocations: 55.22 kB / 1.375 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/1.244, allocations: 0.8914 MB / 1.376 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/1.244, allocations: 32.33 kB / 1.376 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/1.244, allocations: 347.6 kB / 1.376 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/1.245, allocations: 33.95 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/1.245, allocations: 1.422 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/1.245, allocations: 313.6 kB / 1.376 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/1.245, allocations: 107.5 kB / 1.376 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/1.245, allocations: 108.5 kB / 1.377 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/1.245, allocations: 110.1 kB / 1.377 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.245, allocations: 0 / 1.377 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003566/1.245, allocations: 346.4 kB / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.245, allocations: 4.875 kB / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/1.245, allocations: 0 / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/1.245, allocations: 384 / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/1.246, allocations: 28.53 kB / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.246, allocations: 6.594 kB / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/1.246, allocations: 21.88 kB / 1.377 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/1.246, allocations: 22.05 kB / 1.377 GB, free: 31.38 MB / 0.8386 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 6.814e-05/1.246, allocations: 108.8 kB / 1.377 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/1.246, allocations: 77.75 kB / 1.377 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005604/1.247, allocations: 399.8 kB / 1.378 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.247, allocations: 0 / 1.378 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.247, allocations: 0 / 1.378 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.247, allocations: 2.438 kB / 1.378 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/1.247, allocations: 0.5448 MB / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/1.247, allocations: 0 / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/1.247, allocations: 31.45 kB / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.247, allocations: 4 kB / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/1.247, allocations: 7.688 kB / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.247, allocations: 0 / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.247, allocations: 0 / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/1.248, allocations: 439.3 kB / 1.379 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/1.248, allocations: 205.5 kB / 1.379 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/1.248, allocations: 0 / 1.379 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.248, allocations: 18.16 kB / 1.379 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/1.248, allocations: 12.53 kB / 1.379 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/1.248, allocations: 7.688 kB / 1.379 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006597/1.249, allocations: 0.7182 MB / 1.38 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.249, allocations: 0 / 1.38 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003207/1.249, allocations: 77.38 kB / 1.38 GB, free: 30.55 MB / 0.8386 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.0002632/1.25, allocations: 166 kB / 1.38 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000219/1.25, allocations: 192.8 kB / 1.38 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.25, allocations: 0 / 1.38 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.734e-05/1.25, allocations: 99.09 kB / 1.38 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/1.25, allocations: 54.05 kB / 1.38 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/1.251, allocations: 0.8533 MB / 1.381 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/1.252, allocations: 0.9574 MB / 1.382 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001886/1.252, allocations: 75.41 kB / 1.382 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/1.252, allocations: 33.7 kB / 1.382 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/1.252, allocations: 0 / 1.382 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of Templates: time 0.009266/1.261, allocations: 5.133 MB / 1.387 GB, free: 27.69 MB / 0.8386 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