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 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.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.01049/0.01049, allocations: 101 kB / 15.73 MB, free: 6.039 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.002376/0.002376, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.437/1.437, allocations: 222.9 MB / 240.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004552/1.012, allocations: 2.745 MB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002291/1.014, allocations: 1.084 MB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/1.015, allocations: 4 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007711/1.016, allocations: 210.6 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/1.016, allocations: 95.22 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/1.016, allocations: 171.7 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005068/1.017, allocations: 403.8 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/1.017, allocations: 221.4 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/1.018, allocations: 151.3 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/1.018, allocations: 179 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.39e-05/1.018, allocations: 43.94 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/1.018, allocations: 171.8 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002938/1.019, allocations: 271.2 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003485/1.019, allocations: 353.6 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/1.02, allocations: 0.9592 MB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/1.02, allocations: 0 / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.258e-06/1.02, allocations: 3.984 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.603e-05/1.02, allocations: 0 / 1.215 GB, free: 6.633 MB / 0.9356 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.00189/1.022, allocations: 1.123 MB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.411e-05/1.022, allocations: 12.03 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/1.024, allocations: 239.4 kB / 1.216 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/1.025, allocations: 0.7229 MB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/1.025, allocations: 28.97 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/1.025, allocations: 28.38 kB / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/1.026, allocations: 378.5 kB / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.026, allocations: 3.938 kB / 1.217 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/1.026, allocations: 20 kB / 1.217 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/1.026, allocations: 8 kB / 1.217 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009509/1.027, allocations: 418.4 kB / 1.217 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/1.03, allocations: 1.783 MB / 1.219 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/1.031, allocations: 218.6 kB / 1.219 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/1.031, allocations: 100.7 kB / 1.22 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/1.031, allocations: 11.98 kB / 1.22 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/1.031, allocations: 34.56 kB / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/1.031, allocations: 4 kB / 1.22 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.001117/1.032, allocations: 373.8 kB / 1.22 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.032, allocations: 55.39 kB / 1.22 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/1.034, allocations: 1.247 MB / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/1.034, allocations: 29.7 kB / 1.221 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/1.034, allocations: 428.1 kB / 1.222 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/1.034, allocations: 67.09 kB / 1.222 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/1.035, allocations: 57.61 kB / 1.222 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.035, allocations: 314 kB / 1.222 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/1.035, allocations: 143.9 kB / 1.222 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/1.035, allocations: 199.5 kB / 1.222 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/1.036, allocations: 291 kB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.036, allocations: 0 / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008694/1.037, allocations: 462.8 kB / 1.223 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.037, allocations: 4 kB / 1.223 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/1.037, allocations: 4 kB / 1.223 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.037, allocations: 3.938 kB / 1.223 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/1.037, allocations: 63.83 kB / 1.223 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/1.037, allocations: 7.984 kB / 1.223 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/1.038, allocations: 39.67 kB / 1.223 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/1.038, allocations: 12 kB / 1.223 GB, free: 13.45 MB / 0.9512 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.000321/1.038, allocations: 269.7 kB / 1.223 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/1.038, allocations: 82.88 kB / 1.224 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/1.039, allocations: 328.2 kB / 1.224 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.039, allocations: 4 kB / 1.224 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.039, allocations: 4 kB / 1.224 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.039, allocations: 0 / 1.224 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/1.041, allocations: 1.003 MB / 1.225 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.041, allocations: 4 kB / 1.225 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/1.041, allocations: 48.09 kB / 1.225 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/1.041, allocations: 0 / 1.225 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/1.041, allocations: 8 kB / 1.225 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/1.041, allocations: 11.92 kB / 1.225 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.041, allocations: 8 kB / 1.225 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007634/1.042, allocations: 435.7 kB / 1.225 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/1.042, allocations: 203.9 kB / 1.226 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/1.042, allocations: 4 kB / 1.226 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/1.042, allocations: 15.98 kB / 1.226 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/1.042, allocations: 23.92 kB / 1.226 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/1.042, allocations: 11.98 kB / 1.226 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001056/1.043, allocations: 0.9028 MB / 1.226 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/1.043, allocations: 0 / 1.226 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004549/1.044, allocations: 103.8 kB / 1.227 GB, free: 9.855 MB / 0.9512 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.0002429/1.044, allocations: 111.2 kB / 1.227 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007353/1.045, allocations: 279.7 kB / 1.227 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.045, allocations: 320 / 1.227 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003139/1.045, allocations: 111.8 kB / 1.227 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/1.046, allocations: 63.44 kB / 1.227 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/1.048, allocations: 1.376 MB / 1.228 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/1.049, allocations: 0.9908 MB / 1.229 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002947/1.049, allocations: 100.6 kB / 1.23 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/1.049, allocations: 43.44 kB / 1.23 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/1.049, allocations: 3.938 kB / 1.23 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of Templates: time 0.01198/1.061, allocations: 5.6 MB / 1.235 GB, free: 1.117 MB / 0.9512 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/jenkins/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