Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.008627/0.008627, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.00149/0.00149, allocations: 190 kB / 16.67 MB, free: 5.48 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.314/2.314, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.91 kB / 0.9509 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9337/0.9351, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003886/0.9391, allocations: 2.734 MB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.941, allocations: 1.097 MB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.9412, allocations: 4.438 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006998/0.9419, allocations: 211.7 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.9421, allocations: 89.39 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.9427, allocations: 184.1 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.9433, allocations: 398.9 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.9437, allocations: 207.1 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.944, allocations: 158.4 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.9442, allocations: 174.5 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.9443, allocations: 40.22 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.9447, allocations: 175.5 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.945, allocations: 262.3 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.9453, allocations: 345.5 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.9468, allocations: 0.9741 MB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.9468, allocations: 0.6562 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9468, allocations: 0.7188 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.9468, allocations: 0 / 1.095 GB, free: 1.191 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001835/0.9486, allocations: 1.159 MB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.9487, allocations: 10.83 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.9502, allocations: 251.8 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.9518, allocations: 0.7251 MB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.9519, allocations: 25.59 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.952, allocations: 33.22 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.9531, allocations: 383.4 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.9531, allocations: 3.938 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/0.9531, allocations: 15 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.9532, allocations: 7.062 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.9543, allocations: 417.6 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.9583, allocations: 1.789 MB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/0.9591, allocations: 217.5 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.9594, allocations: 99.23 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.9595, allocations: 6.438 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.9595, allocations: 39.66 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.9595, allocations: 0 / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001261/0.9608, allocations: 382.1 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.9608, allocations: 54.25 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.9629, allocations: 1.242 MB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.9629, allocations: 31.2 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004804/0.9634, allocations: 436.8 kB / 1.102 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.214e-05/0.9635, allocations: 70.98 kB / 1.102 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.9636, allocations: 50.56 kB / 1.102 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9638, allocations: 319.3 kB / 1.102 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.9642, allocations: 144.8 kB / 1.102 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.9647, allocations: 211.1 kB / 1.103 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008074/0.9655, allocations: 279.2 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.9655, allocations: 4 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001478/0.967, allocations: 470.9 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.9671, allocations: 7.156 kB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.9671, allocations: 4.984 kB / 1.103 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/0.9671, allocations: 6.156 kB / 1.103 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.9675, allocations: 57.48 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.9676, allocations: 6.125 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.9681, allocations: 37.98 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.9681, allocations: 8.672 kB / 1.103 GB, free: 12.34 MB / 0.8731 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.0006238/0.9687, allocations: 275 kB / 1.104 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.9689, allocations: 89.36 kB / 1.104 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.9699, allocations: 321.7 kB / 1.104 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.97, allocations: 2.625 kB / 1.104 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.97, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.97, allocations: 2.344 kB / 1.104 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.9721, allocations: 1.002 MB / 1.105 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.9721, allocations: 2.922 kB / 1.105 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.9724, allocations: 45.38 kB / 1.105 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.9724, allocations: 10.06 kB / 1.105 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.9725, allocations: 5.609 kB / 1.105 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.9725, allocations: 6.344 kB / 1.105 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9725, allocations: 3.031 kB / 1.105 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.9734, allocations: 448.1 kB / 1.106 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.9737, allocations: 206.9 kB / 1.106 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.9738, allocations: 8.047 kB / 1.106 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.9741, allocations: 17.55 kB / 1.106 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.9742, allocations: 22.28 kB / 1.106 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.9742, allocations: 15.81 kB / 1.106 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001312/0.9755, allocations: 0.9021 MB / 1.107 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9755, allocations: 0 / 1.107 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000552/0.9761, allocations: 106.7 kB / 1.107 GB, free: 10.48 MB / 0.8731 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.0002246/0.9763, allocations: 123.8 kB / 1.107 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008352/0.9772, allocations: 274.5 kB / 1.107 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9772, allocations: 1.188 kB / 1.107 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.9775, allocations: 111.3 kB / 1.107 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.9781, allocations: 62.12 kB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.9805, allocations: 1.397 MB / 1.109 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/0.9813, allocations: 0.9964 MB / 1.11 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003943/0.9817, allocations: 100.4 kB / 1.11 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.9819, allocations: 43.36 kB / 1.11 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.9819, allocations: 0 / 1.11 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of Templates: time 0.01599/0.9979, allocations: 5.598 MB / 1.115 GB, free: 8.211 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches