Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009276/0.0009278, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.008565/0.008565, allocations: 173 kB / 16.26 MB, free: 6.613 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 12 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7467, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003313/0.7501, allocations: 2.405 MB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.7521, allocations: 1.054 MB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.7524, allocations: 4 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.753, allocations: 196.9 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.7533, allocations: 59.56 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.7538, allocations: 159.8 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004465/0.7542, allocations: 383.3 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/0.7546, allocations: 193.8 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.7547, allocations: 103.3 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.7549, allocations: 155 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.755, allocations: 12 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.7553, allocations: 143.8 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.7555, allocations: 219.2 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.7558, allocations: 335.3 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008381/0.7566, allocations: 0.8948 MB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7566, allocations: 0 / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.499e-06/0.7566, allocations: 3.984 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.039e-05/0.7567, allocations: 3.938 kB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001424/0.7581, allocations: 1.003 MB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.7581, allocations: 8.031 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.7596, allocations: 267.5 kB / 1.03 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.7611, allocations: 0.7422 MB / 1.031 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.7612, allocations: 29.03 kB / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.7612, allocations: 28.38 kB / 1.031 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.7621, allocations: 398.5 kB / 1.032 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.7621, allocations: 3.938 kB / 1.032 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.7622, allocations: 12 kB / 1.032 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.7622, allocations: 8 kB / 1.032 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.7632, allocations: 434.4 kB / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/0.7673, allocations: 2.127 MB / 1.034 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.768, allocations: 218.5 kB / 1.034 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.7683, allocations: 100.8 kB / 1.034 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.7684, allocations: 8 kB / 1.034 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.7684, allocations: 34.56 kB / 1.034 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.7684, allocations: 0 / 1.034 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001103/0.7695, allocations: 374.1 kB / 1.035 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.7696, allocations: 55.41 kB / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.7711, allocations: 1.247 MB / 1.036 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.7711, allocations: 33.7 kB / 1.036 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.7715, allocations: 428.1 kB / 1.036 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.7715, allocations: 71.31 kB / 1.037 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.7716, allocations: 29.7 kB / 1.037 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7717, allocations: 318 kB / 1.037 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.772, allocations: 147.9 kB / 1.037 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.7724, allocations: 201.8 kB / 1.037 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.7731, allocations: 283.8 kB / 1.037 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7731, allocations: 0 / 1.037 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008971/0.774, allocations: 464.2 kB / 1.038 GB, free: 192 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.774, allocations: 5.875 kB / 1.038 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.774, allocations: 8.156 kB / 1.038 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.774, allocations: 3.938 kB / 1.038 GB, free: 176 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.7743, allocations: 55.91 kB / 1.038 GB, free: 120 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.7744, allocations: 4 kB / 1.038 GB, free: 116 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.7747, allocations: 35.72 kB / 1.038 GB, free: 80 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.7747, allocations: 8 kB / 1.038 GB, free: 72 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003183/0.775, allocations: 282.1 kB / 1.038 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.7751, allocations: 82.88 kB / 1.038 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008584/0.776, allocations: 323.2 kB / 1.039 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.776, allocations: 0 / 1.039 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.776, allocations: 0 / 1.039 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.776, allocations: 3.984 kB / 1.039 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.7777, allocations: 1.004 MB / 1.04 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7777, allocations: 0 / 1.04 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.778, allocations: 47.89 kB / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.778, allocations: 4 kB / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.778, allocations: 8 kB / 1.04 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.778, allocations: 3.938 kB / 1.04 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.778, allocations: 8.078 kB / 1.04 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.7788, allocations: 441.5 kB / 1.04 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.7791, allocations: 207.9 kB / 1.04 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.7791, allocations: 11.98 kB / 1.04 GB, free: 13.53 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.7794, allocations: 19.98 kB / 1.04 GB, free: 13.51 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.7795, allocations: 19.92 kB / 1.04 GB, free: 13.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.7795, allocations: 15.98 kB / 1.04 GB, free: 13.47 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001056/0.7806, allocations: 0.8989 MB / 1.041 GB, free: 12.56 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7806, allocations: 0 / 1.041 GB, free: 12.56 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004275/0.781, allocations: 99.77 kB / 1.041 GB, free: 12.46 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002278/0.7813, allocations: 123.2 kB / 1.042 GB, free: 12.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00077/0.782, allocations: 279.7 kB / 1.042 GB, free: 12.06 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.782, allocations: 0 / 1.042 GB, free: 12.06 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.7824, allocations: 108.5 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.7831, allocations: 59.5 kB / 1.042 GB, free: 11.9 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.786, allocations: 1.636 MB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.7867, allocations: 0.9961 MB / 1.045 GB, free: 9.195 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003798/0.7871, allocations: 100.6 kB / 1.045 GB, free: 9.098 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.7872, allocations: 51.36 kB / 1.045 GB, free: 9.047 MB / 0.795 GB Notification: Performance of SimCode: time 7.81e-07/0.7872, allocations: 4 kB / 1.045 GB, free: 9.043 MB / 0.795 GB Notification: Performance of Templates: time 0.01302/0.8002, allocations: 5.184 MB / 1.05 GB, free: 3.867 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches