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.001898/0.001898, allocations: 108 kB / 15.6 MB, free: 132 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.002611/0.002611, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.54/1.54, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.867/2.867, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 75.88 kB / 0.8692 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7391, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005365/0.7446, allocations: 2.745 MB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.7467, allocations: 1.089 MB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.7469, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000698/0.7477, allocations: 208.6 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.7479, allocations: 87.23 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.7484, allocations: 183.7 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.7489, allocations: 403.8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.7493, allocations: 205.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.7495, allocations: 159.2 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.7497, allocations: 175.1 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.7498, allocations: 40 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.7502, allocations: 179.8 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.7504, allocations: 259.2 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.7507, allocations: 353.6 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009885/0.7517, allocations: 0.9456 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7517, allocations: 4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7517, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.7518, allocations: 0 / 1.024 GB, free: 11.45 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.001658/0.7534, allocations: 1.127 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.7535, allocations: 12.03 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.7549, allocations: 235.4 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.7564, allocations: 0.7267 MB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.7565, allocations: 21.03 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.7566, allocations: 32.38 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/0.7575, allocations: 386.5 kB / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.7575, allocations: 3.938 kB / 1.027 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.7575, allocations: 16 kB / 1.027 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.7576, allocations: 4 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.7587, allocations: 418.4 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.7624, allocations: 1.775 MB / 1.029 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.7632, allocations: 220 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.7635, allocations: 100.8 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.7636, allocations: 8.297 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.7636, allocations: 34.56 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.295e-06/0.7636, allocations: 0 / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001227/0.7649, allocations: 385.8 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.7649, allocations: 51.41 kB / 1.03 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.7666, allocations: 1.243 MB / 1.031 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.7666, allocations: 25.7 kB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.7671, allocations: 436.1 kB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.605e-05/0.7672, allocations: 63.02 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.7673, allocations: 53.69 kB / 1.031 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.7675, allocations: 322 kB / 1.032 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.7679, allocations: 143.9 kB / 1.032 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.7683, allocations: 206.2 kB / 1.032 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/0.7691, allocations: 278.4 kB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7691, allocations: 8 kB / 1.032 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001046/0.7701, allocations: 469.9 kB / 1.033 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7702, allocations: 4 kB / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.7702, allocations: 0 / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.7702, allocations: 11.88 kB / 1.033 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.7706, allocations: 59.89 kB / 1.033 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7706, allocations: 0 / 1.033 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.7709, allocations: 43.67 kB / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.7709, allocations: 7.984 kB / 1.033 GB, free: 2.27 MB / 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.0004142/0.7713, allocations: 269.7 kB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.7714, allocations: 82.97 kB / 1.033 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/0.7724, allocations: 321.8 kB / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.7724, allocations: 4 kB / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7724, allocations: 0 / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7724, allocations: 0 / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.7743, allocations: 1.011 MB / 1.034 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.7743, allocations: 4 kB / 1.034 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.7746, allocations: 48.03 kB / 1.034 GB, free: 464 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7746, allocations: 4 kB / 1.034 GB, free: 460 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.7746, allocations: 11.98 kB / 1.034 GB, free: 448 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.7746, allocations: 4 kB / 1.034 GB, free: 444 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7747, allocations: 0 / 1.034 GB, free: 444 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008662/0.7755, allocations: 441.1 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.7758, allocations: 200 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.7759, allocations: 4 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.7762, allocations: 19.98 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.7763, allocations: 23.91 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.7763, allocations: 8 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001212/0.7775, allocations: 0.9028 MB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7775, allocations: 0 / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004679/0.778, allocations: 107.7 kB / 1.036 GB, free: 14.68 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.0002938/0.7783, allocations: 127.1 kB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000857/0.7791, allocations: 291.6 kB / 1.037 GB, free: 14.26 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.7792, allocations: 0 / 1.037 GB, free: 14.26 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.7795, allocations: 100.3 kB / 1.037 GB, free: 14.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.78, allocations: 65.72 kB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.7825, allocations: 1.395 MB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.7833, allocations: 0.9967 MB / 1.039 GB, free: 11.64 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.7837, allocations: 104.6 kB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.7839, allocations: 43.42 kB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.7839, allocations: 3.938 kB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of Templates: time 0.0138/0.7977, allocations: 5.489 MB / 1.045 GB, free: 6.008 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=400 -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