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.316/2.316, allocations: 390.5 MB / 398 MB, free: 10.98 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.001351/0.001351, allocations: 183.8 kB / 491.2 MB, free: 1.617 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.483/1.483, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.00103/0.001031, allocations: 91.89 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.099e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3173, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.325, allocations: 152.3 MB / 1.361 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.326, allocations: 82.58 kB / 1.361 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02274/1.348, allocations: 9.904 MB / 1.371 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.864e-06/1.348, allocations: 0 / 1.371 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.828e-05/1.348, allocations: 15.44 kB / 1.371 GB, free: 31.77 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.00107/1.349, allocations: 0.7283 MB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.35, allocations: 7.719 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005632/1.35, allocations: 119.3 kB / 1.372 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/1.351, allocations: 0.5153 MB / 1.372 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/1.351, allocations: 3.875 kB / 1.372 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/1.351, allocations: 8.562 kB / 1.372 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00035/1.351, allocations: 246.5 kB / 1.372 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/1.352, allocations: 202.1 kB / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.352, allocations: 0 / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/1.352, allocations: 0 / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/1.352, allocations: 3.812 kB / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/1.353, allocations: 0.9247 MB / 1.373 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/1.353, allocations: 350.7 kB / 1.374 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/1.354, allocations: 123.1 kB / 1.374 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006956/1.354, allocations: 328.8 kB / 1.374 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/1.354, allocations: 34.38 kB / 1.374 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/1.354, allocations: 3.984 kB / 1.374 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.001007/1.355, allocations: 418 kB / 1.375 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/1.355, allocations: 51.41 kB / 1.375 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009909/1.356, allocations: 0.8397 MB / 1.376 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/1.356, allocations: 29.7 kB / 1.376 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/1.357, allocations: 333.4 kB / 1.376 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/1.357, allocations: 30.05 kB / 1.376 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/1.357, allocations: 3.938 kB / 1.376 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.357, allocations: 319.9 kB / 1.376 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/1.357, allocations: 103.2 kB / 1.376 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/1.357, allocations: 105.8 kB / 1.376 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/1.358, allocations: 202.1 kB / 1.377 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.358, allocations: 0 / 1.377 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008634/1.359, allocations: 427.7 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.359, allocations: 3.781 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.359, allocations: 0 / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/1.359, allocations: 0 / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/1.359, allocations: 37.38 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/1.359, allocations: 3.281 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/1.359, allocations: 22.77 kB / 1.377 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/1.359, allocations: 11.56 kB / 1.377 GB, free: 29.56 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 8.306e-05/1.359, allocations: 104.9 kB / 1.377 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-05/1.359, allocations: 69.94 kB / 1.377 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/1.36, allocations: 485.5 kB / 1.378 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.36, allocations: 3.812 kB / 1.378 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.36, allocations: 0 / 1.378 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/1.36, allocations: 3.094 kB / 1.378 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/1.361, allocations: 0.5121 MB / 1.378 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.361, allocations: 4 kB / 1.378 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/1.361, allocations: 38.36 kB / 1.378 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.361, allocations: 0 / 1.378 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/1.361, allocations: 3.875 kB / 1.378 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.361, allocations: 2.531 kB / 1.378 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.361, allocations: 0 / 1.378 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/1.362, allocations: 0.5107 MB / 1.379 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/1.362, allocations: 195.2 kB / 1.379 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/1.362, allocations: 3.938 kB / 1.379 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/1.363, allocations: 17.36 kB / 1.379 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/1.363, allocations: 6.656 kB / 1.379 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/1.363, allocations: 11.72 kB / 1.379 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006944/1.363, allocations: 0.6578 MB / 1.38 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.533e-06/1.363, allocations: 0 / 1.38 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003335/1.364, allocations: 80.88 kB / 1.38 GB, free: 28.77 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.0002847/1.364, allocations: 168.1 kB / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002151/1.364, allocations: 178.7 kB / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.364, allocations: 0 / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/1.364, allocations: 102.3 kB / 1.38 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/1.365, allocations: 55.5 kB / 1.38 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/1.366, allocations: 0.8385 MB / 1.381 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/1.366, allocations: 0.9529 MB / 1.382 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001887/1.367, allocations: 71.66 kB / 1.382 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/1.367, allocations: 33.14 kB / 1.382 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/1.367, allocations: 4 kB / 1.382 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of Templates: time 0.008505/1.375, allocations: 3.699 MB / 1.386 GB, free: 26.75 MB / 0.8386 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