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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01025/0.01025, allocations: 100.4 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 190.4 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.89 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3176, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003507/0.3211, allocations: 2.265 MB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3226, allocations: 0.9477 MB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3228, allocations: 4 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.3233, allocations: 186.9 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3235, allocations: 67.45 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.3238, allocations: 119.7 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.3241, allocations: 223 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3243, allocations: 97.59 kB / 1.212 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3244, allocations: 79.59 kB / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.3245, allocations: 107.4 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.3245, allocations: 16 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.3248, allocations: 151.8 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.325, allocations: 211.4 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.3252, allocations: 266 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.3259, allocations: 0.7238 MB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3259, allocations: 0 / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3259, allocations: 0 / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3259, allocations: 0 / 1.213 GB, free: 4.195 MB / 0.9669 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.001184/0.3271, allocations: 0.9785 MB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3271, allocations: 8.625 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000511/0.3276, allocations: 123.9 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007139/0.3284, allocations: 0.5895 MB / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3284, allocations: 8.375 kB / 1.215 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.3284, allocations: 12.38 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.3289, allocations: 195.4 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3289, allocations: 192 / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3289, allocations: 7.938 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3289, allocations: 4 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.3294, allocations: 232.3 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.3306, allocations: 0.9255 MB / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.3312, allocations: 318.5 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.3315, allocations: 104.8 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/0.3322, allocations: 232.9 kB / 1.217 GB, free: 308 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3322, allocations: 38.56 kB / 1.217 GB, free: 260 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3323, allocations: 0 / 1.217 GB, free: 260 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0008322/0.3331, allocations: 400.7 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.3331, allocations: 55.41 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.3343, allocations: 0.9974 MB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3343, allocations: 25.7 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.3346, allocations: 348 kB / 1.218 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.3346, allocations: 31.55 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.3347, allocations: 25.72 kB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3348, allocations: 310 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.335, allocations: 104 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.3352, allocations: 122.4 kB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.3357, allocations: 222.4 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3357, allocations: 0 / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005533/0.3362, allocations: 324.8 kB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3363, allocations: 8.094 kB / 1.22 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3363, allocations: 3.938 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3363, allocations: 0 / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3365, allocations: 23.98 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3365, allocations: 0 / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3366, allocations: 19.89 kB / 1.22 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.3367, allocations: 8.062 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002357/0.3369, allocations: 249.7 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.379e-05/0.337, allocations: 75 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005907/0.3376, allocations: 324.5 kB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3376, allocations: 0 / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3376, allocations: 0 / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3376, allocations: 0 / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.3382, allocations: 0.5324 MB / 1.221 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3382, allocations: 7.938 kB / 1.221 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3383, allocations: 19.98 kB / 1.221 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3383, allocations: 0 / 1.221 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3384, allocations: 4 kB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3384, allocations: 4 kB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3384, allocations: 3.984 kB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.3389, allocations: 398.5 kB / 1.221 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.3391, allocations: 184.1 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.3392, allocations: 0 / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3394, allocations: 7.984 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.3394, allocations: 7.984 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.3394, allocations: 15.94 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008305/0.3403, allocations: 0.7137 MB / 1.222 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3403, allocations: 0 / 1.222 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003579/0.3406, allocations: 71.83 kB / 1.222 GB, free: 10.49 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001989/0.3408, allocations: 115.4 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.3413, allocations: 219.9 kB / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3413, allocations: 0 / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.3415, allocations: 104 kB / 1.223 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.342, allocations: 65.23 kB / 1.223 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.3437, allocations: 1.15 MB / 1.224 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.3443, allocations: 0.9479 MB / 1.225 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.3445, allocations: 77.31 kB / 1.225 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.936e-05/0.3446, allocations: 39.38 kB / 1.225 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.3446, allocations: 0 / 1.225 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of Templates: time 0.009731/0.3543, allocations: 4.465 MB / 1.229 GB, free: 3.27 MB / 0.9825 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches