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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001379/0.001379, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 199.7 kB / 16.79 MB, free: 6.828 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6597, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003052/0.6627, allocations: 2.765 MB / 0.9523 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.664, allocations: 1.076 MB / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.6642, allocations: 8 kB / 0.9534 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.6647, allocations: 200.2 kB / 0.9535 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.6648, allocations: 67.59 kB / 0.9536 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.6652, allocations: 148 kB / 0.9537 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.6655, allocations: 383.5 kB / 0.9541 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.6657, allocations: 215.7 kB / 0.9543 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.6659, allocations: 125.8 kB / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.666, allocations: 177.6 kB / 0.9546 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.666, allocations: 22.06 kB / 0.9546 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.6663, allocations: 155 kB / 0.9548 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.6665, allocations: 241.5 kB / 0.955 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.6667, allocations: 332.8 kB / 0.9553 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.6672, allocations: 0.7442 MB / 0.9561 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6672, allocations: 2.531 kB / 0.9561 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.41e-07/0.6672, allocations: 0 / 0.9561 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.6672, allocations: 0 / 0.9561 GB, free: 4.16 MB / 0.7169 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.001207/0.6684, allocations: 1.125 MB / 0.9572 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.6684, allocations: 11 kB / 0.9572 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.6697, allocations: 236.2 kB / 0.9574 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.6708, allocations: 0.7258 MB / 0.9581 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.6709, allocations: 25.66 kB / 0.9581 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.6709, allocations: 30.94 kB / 0.9582 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.6716, allocations: 382.9 kB / 0.9585 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6717, allocations: 3.938 kB / 0.9585 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.6717, allocations: 18.67 kB / 0.9585 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.6717, allocations: 8.25 kB / 0.9585 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000929/0.6726, allocations: 415.6 kB / 0.9589 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.6753, allocations: 1.792 MB / 0.9607 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.6759, allocations: 215.1 kB / 0.9609 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.6762, allocations: 101.5 kB / 0.961 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.6763, allocations: 13.45 kB / 0.961 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.6763, allocations: 31.84 kB / 0.961 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 9.037e-06/0.6763, allocations: 1.312 kB / 0.961 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0009936/0.6773, allocations: 374.6 kB / 0.9614 GB, free: 412 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.6773, allocations: 57.59 kB / 0.9615 GB, free: 344 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.6788, allocations: 1.241 MB / 0.9627 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.6788, allocations: 30.8 kB / 0.9627 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.6791, allocations: 434.7 kB / 0.9631 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.6792, allocations: 66.48 kB / 0.9632 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.6793, allocations: 55.44 kB / 0.9632 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6794, allocations: 314 kB / 0.9635 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.6798, allocations: 148.1 kB / 0.9637 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.6801, allocations: 198.4 kB / 0.9639 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.6808, allocations: 278.9 kB / 0.9641 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6808, allocations: 3.938 kB / 0.9641 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009507/0.6817, allocations: 463.5 kB / 0.9646 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6818, allocations: 9.656 kB / 0.9646 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6818, allocations: 2.156 kB / 0.9646 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.6818, allocations: 10.11 kB / 0.9646 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.6821, allocations: 53.88 kB / 0.9646 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.6822, allocations: 3.25 kB / 0.9646 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.6825, allocations: 40.08 kB / 0.9647 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.6825, allocations: 23.98 kB / 0.9647 GB, free: 14.22 MB / 0.7325 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.0003268/0.6828, allocations: 269.9 kB / 0.965 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.683, allocations: 80.75 kB / 0.965 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008334/0.6838, allocations: 331.9 kB / 0.9654 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6838, allocations: 2.188 kB / 0.9654 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6838, allocations: 1.125 kB / 0.9654 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6838, allocations: 0 / 0.9654 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.6855, allocations: 1.005 MB / 0.9663 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6855, allocations: 2.688 kB / 0.9663 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.6858, allocations: 43.25 kB / 0.9664 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.6858, allocations: 2.219 kB / 0.9664 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.6858, allocations: 12.08 kB / 0.9664 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6858, allocations: 6.281 kB / 0.9664 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6859, allocations: 5.938 kB / 0.9664 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007751/0.6866, allocations: 432.8 kB / 0.9668 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.6869, allocations: 198.9 kB / 0.967 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.687, allocations: 11.75 kB / 0.967 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.6873, allocations: 12.95 kB / 0.967 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.6873, allocations: 28.72 kB / 0.9671 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.6873, allocations: 6.344 kB / 0.9671 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001265/0.6886, allocations: 0.9058 MB / 0.968 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6886, allocations: 4 kB / 0.968 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004898/0.6891, allocations: 105.4 kB / 0.9681 GB, free: 11.92 MB / 0.7325 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.0002134/0.6893, allocations: 118.7 kB / 0.9682 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007021/0.6901, allocations: 283.8 kB / 0.9684 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6901, allocations: 1.375 kB / 0.9684 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.6904, allocations: 101.7 kB / 0.9685 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.6909, allocations: 65.08 kB / 0.9686 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.6934, allocations: 1.681 MB / 0.9702 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.694, allocations: 0.9892 MB / 0.9712 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.6942, allocations: 54.36 kB / 0.9713 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/0.6942, allocations: 0 / 0.9713 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of Templates: time 0.01359/0.7078, allocations: 8.925 MB / 0.98 GB, free: 2.449 MB / 0.7325 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/jenkins1/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