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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01144/0.01144, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001938/0.001938, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.569/2.569, allocations: 390.2 MB / 0.6648 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 67.17 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3397, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004138/0.344, allocations: 2.252 MB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3456, allocations: 0.9492 MB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3457, allocations: 3.938 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.3463, allocations: 199.1 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.3465, allocations: 67.44 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.3468, allocations: 115.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00026/0.3471, allocations: 227 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.3473, allocations: 81.69 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3475, allocations: 87.52 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3476, allocations: 103.4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.3477, allocations: 24 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.348, allocations: 151.8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.3482, allocations: 207.4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.3484, allocations: 262.1 kB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.3491, allocations: 0.7198 MB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3492, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.928e-06/0.3492, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3492, allocations: 3.938 kB / 1.093 GB, free: 12.08 MB / 0.8575 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.001223/0.3504, allocations: 0.9747 MB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3505, allocations: 12.03 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005377/0.351, allocations: 119.8 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008102/0.3518, allocations: 0.5856 MB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3519, allocations: 12.38 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3519, allocations: 12.38 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.3523, allocations: 203.5 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3523, allocations: 192 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.3523, allocations: 11.94 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.3523, allocations: 4 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.3528, allocations: 235.9 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.354, allocations: 0.9061 MB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/0.3547, allocations: 314.5 kB / 1.097 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.3549, allocations: 104.9 kB / 1.097 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006916/0.3556, allocations: 244.9 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3556, allocations: 30.56 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3556, allocations: 0 / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0008078/0.3565, allocations: 404.6 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.3565, allocations: 51.41 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.3577, allocations: 1.001 MB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3578, allocations: 25.7 kB / 1.098 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.3582, allocations: 348 kB / 1.099 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.3582, allocations: 31.55 kB / 1.099 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.3583, allocations: 29.72 kB / 1.099 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3584, allocations: 310 kB / 1.099 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.3586, allocations: 99.89 kB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.3588, allocations: 122.5 kB / 1.099 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.3592, allocations: 222.8 kB / 1.099 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3592, allocations: 0 / 1.099 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006189/0.3599, allocations: 324.5 kB / 1.1 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3599, allocations: 9.562 kB / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3599, allocations: 0 / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3599, allocations: 0 / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3601, allocations: 28.05 kB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3601, allocations: 3.938 kB / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3603, allocations: 11.98 kB / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.3603, allocations: 4 kB / 1.1 GB, free: 5.082 MB / 0.8575 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.0002494/0.3606, allocations: 245.7 kB / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.3607, allocations: 75 kB / 1.1 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006583/0.3613, allocations: 336.4 kB / 1.1 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3613, allocations: 4 kB / 1.1 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3613, allocations: 0 / 1.1 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3614, allocations: 3.984 kB / 1.1 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.3619, allocations: 0.5285 MB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3619, allocations: 3.938 kB / 1.101 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.362, allocations: 19.98 kB / 1.101 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3621, allocations: 0 / 1.101 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3621, allocations: 7.984 kB / 1.101 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3621, allocations: 0 / 1.101 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.3621, allocations: 8 kB / 1.101 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.3627, allocations: 402.5 kB / 1.101 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.363, allocations: 184 kB / 1.102 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.363, allocations: 7.984 kB / 1.102 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3632, allocations: 4.281 kB / 1.102 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.3632, allocations: 7.984 kB / 1.102 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3633, allocations: 8 kB / 1.102 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009741/0.3642, allocations: 0.7214 MB / 1.102 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3642, allocations: 0 / 1.102 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003678/0.3646, allocations: 79.83 kB / 1.102 GB, free: 2.367 MB / 0.8575 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.0001984/0.3648, allocations: 107.2 kB / 1.102 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.3653, allocations: 211.8 kB / 1.103 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3654, allocations: 0 / 1.103 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.3656, allocations: 112 kB / 1.103 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.366, allocations: 55.23 kB / 1.103 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.3679, allocations: 1.157 MB / 1.104 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.3685, allocations: 0.944 MB / 1.105 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.3687, allocations: 85.31 kB / 1.105 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.3688, allocations: 31.44 kB / 1.105 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/0.3688, allocations: 0 / 1.105 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.009999/0.3788, allocations: 4.578 MB / 1.109 GB, free: 11.04 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches