Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001616/0.001616, allocations: 111.8 kB / 16.42 MB, free: 6.516 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.001788/0.001788, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.405/1.405, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9544/0.9563, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005089/0.9615, allocations: 2.741 MB / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.9635, allocations: 1.099 MB / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.9638, allocations: 4 kB / 1.23 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.9645, allocations: 218.6 kB / 1.23 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.9648, allocations: 83.25 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.9654, allocations: 179.7 kB / 1.231 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000541/0.966, allocations: 411.7 kB / 1.231 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.9663, allocations: 205.8 kB / 1.231 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.9666, allocations: 151.2 kB / 1.231 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.9668, allocations: 187 kB / 1.231 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.783e-05/0.9669, allocations: 40 kB / 1.232 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.9674, allocations: 167.8 kB / 1.232 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.9676, allocations: 263.2 kB / 1.232 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.968, allocations: 357.6 kB / 1.232 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.9692, allocations: 0.9686 MB / 1.233 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.9693, allocations: 4 kB / 1.233 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9693, allocations: 0 / 1.233 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.156e-05/0.9693, allocations: 0 / 1.233 GB, free: 6.402 MB / 0.9512 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.00208/0.9714, allocations: 1.166 MB / 1.234 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.9715, allocations: 11.97 kB / 1.234 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.9728, allocations: 244 kB / 1.235 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.9743, allocations: 0.7315 MB / 1.235 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.9744, allocations: 21.03 kB / 1.235 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.9744, allocations: 32.38 kB / 1.235 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008163/0.9752, allocations: 382.5 kB / 1.236 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.9753, allocations: 3.938 kB / 1.236 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.9753, allocations: 12 kB / 1.236 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.9753, allocations: 8 kB / 1.236 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009698/0.9763, allocations: 418.4 kB / 1.236 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.9796, allocations: 1.78 MB / 1.238 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.9803, allocations: 218.6 kB / 1.238 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.9806, allocations: 100.8 kB / 1.238 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.9807, allocations: 4 kB / 1.238 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.9807, allocations: 34.56 kB / 1.238 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.9807, allocations: 4 kB / 1.238 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001099/0.9818, allocations: 382.8 kB / 1.239 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.9819, allocations: 55.41 kB / 1.239 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.9833, allocations: 1.239 MB / 1.24 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.9834, allocations: 33.7 kB / 1.24 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.9837, allocations: 432.7 kB / 1.24 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.9838, allocations: 71.42 kB / 1.24 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.9839, allocations: 61.64 kB / 1.24 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.984, allocations: 318 kB / 1.241 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.9844, allocations: 143.9 kB / 1.241 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.9848, allocations: 201.9 kB / 1.241 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.9854, allocations: 281 kB / 1.241 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.9854, allocations: 4 kB / 1.241 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008897/0.9863, allocations: 470.2 kB / 1.242 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.9863, allocations: 9.25 kB / 1.242 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9864, allocations: 3.984 kB / 1.242 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.9864, allocations: 7.938 kB / 1.242 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.9867, allocations: 51.91 kB / 1.242 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.9867, allocations: 8 kB / 1.242 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.987, allocations: 31.83 kB / 1.242 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.9871, allocations: 11.98 kB / 1.242 GB, free: 13.16 MB / 0.9669 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.0003007/0.9874, allocations: 275.5 kB / 1.242 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.9875, allocations: 87.44 kB / 1.242 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.9885, allocations: 329.7 kB / 1.243 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.9885, allocations: 0 / 1.243 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9885, allocations: 4 kB / 1.243 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.9888, allocations: 208.4 kB / 1.243 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-05/0.9889, allocations: 7.938 kB / 1.243 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.9892, allocations: 11.98 kB / 1.243 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.9893, allocations: 23.91 kB / 1.243 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008529/0.9902, allocations: 314.2 kB / 1.243 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008139/0.991, allocations: 480.7 kB / 1.244 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002876/0.9913, allocations: 91.92 kB / 1.244 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001166/0.9925, allocations: 0.9027 MB / 1.245 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of Backend: time 1.232e-06/0.9925, allocations: 0 / 1.245 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009857/0.9935, allocations: 296.4 kB / 1.245 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002274/0.9957, allocations: 1.778 MB / 1.247 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of Templates: time 0.01477/1.011, allocations: 6.784 MB / 1.253 GB, free: 1.504 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches