Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00729/0.00729, allocations: 104.7 kB / 15.74 MB, free: 6.066 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.001763/0.001763, allocations: 193 kB / 16.67 MB, free: 5.977 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.627/2.627, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 71.89 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9284/0.9298, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.0051/0.9349, allocations: 2.744 MB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.9372, allocations: 1.092 MB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.9375, allocations: 4 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007999/0.9383, allocations: 206.6 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.9387, allocations: 95.23 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.9393, allocations: 187.7 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006501/0.9399, allocations: 403.7 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.9403, allocations: 149.9 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.9406, allocations: 151.3 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.9408, allocations: 179 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-05/0.9409, allocations: 43.94 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.9413, allocations: 167.8 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.9416, allocations: 271.1 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.9419, allocations: 349.6 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.943, allocations: 0.9726 MB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9431, allocations: 0 / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9431, allocations: 0 / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.9431, allocations: 0 / 1.227 GB, free: 11.11 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.001531/0.9446, allocations: 1.166 MB / 1.229 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.9446, allocations: 19.91 kB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.946, allocations: 240 kB / 1.229 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.9472, allocations: 0.7276 MB / 1.23 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.9472, allocations: 25.03 kB / 1.23 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.9473, allocations: 32.38 kB / 1.23 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007811/0.9481, allocations: 382.5 kB / 1.23 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.9481, allocations: 3.938 kB / 1.23 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.9481, allocations: 16 kB / 1.23 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.9481, allocations: 8 kB / 1.23 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009419/0.9491, allocations: 422.3 kB / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.9521, allocations: 1.78 MB / 1.232 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.9527, allocations: 210.6 kB / 1.232 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.953, allocations: 92.75 kB / 1.232 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.953, allocations: 11.98 kB / 1.232 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.953, allocations: 34.56 kB / 1.232 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.953, allocations: 0 / 1.232 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001073/0.9541, allocations: 383.2 kB / 1.233 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.9542, allocations: 51.41 kB / 1.233 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.9555, allocations: 1.243 MB / 1.234 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.9555, allocations: 29.7 kB / 1.234 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.956, allocations: 444.7 kB / 1.235 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.956, allocations: 63.44 kB / 1.235 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.9561, allocations: 53.66 kB / 1.235 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9563, allocations: 318 kB / 1.235 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.9566, allocations: 151.8 kB / 1.235 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.957, allocations: 202.4 kB / 1.235 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.9576, allocations: 281 kB / 1.236 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9576, allocations: 4 kB / 1.236 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008615/0.9585, allocations: 471.5 kB / 1.236 GB, free: 2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.9585, allocations: 4 kB / 1.236 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9585, allocations: 4 kB / 1.236 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.9585, allocations: 3.938 kB / 1.236 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.9588, allocations: 59.89 kB / 1.236 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.9589, allocations: 4 kB / 1.236 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.9591, allocations: 35.83 kB / 1.236 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.9592, allocations: 12 kB / 1.236 GB, free: 1.879 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.000304/0.9595, allocations: 274.1 kB / 1.236 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.9596, allocations: 83.44 kB / 1.236 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000819/0.9604, allocations: 329.7 kB / 1.237 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.9604, allocations: 4 kB / 1.237 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9604, allocations: 0 / 1.237 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9604, allocations: 0 / 1.237 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.9621, allocations: 1.004 MB / 1.238 GB, free: 112 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.9621, allocations: 4 kB / 1.238 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.9623, allocations: 43.91 kB / 1.238 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.361e-06/0.9623, allocations: 8.188 kB / 1.238 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.9624, allocations: 4 kB / 1.238 GB, free: 52 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.9624, allocations: 11.98 kB / 1.238 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9624, allocations: 4 kB / 1.238 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.9631, allocations: 442.2 kB / 1.238 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.9634, allocations: 212.4 kB / 1.238 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.9635, allocations: 8 kB / 1.238 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.9637, allocations: 11.98 kB / 1.238 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.9638, allocations: 23.86 kB / 1.238 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.9638, allocations: 11.98 kB / 1.238 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001056/0.9649, allocations: 0.9067 MB / 1.239 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.9649, allocations: 0 / 1.239 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004516/0.9653, allocations: 103.8 kB / 1.239 GB, free: 14.27 MB / 0.9669 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.0002995/0.9656, allocations: 123.1 kB / 1.24 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007291/0.9664, allocations: 267.7 kB / 1.24 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.9664, allocations: 3.938 kB / 1.24 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.9667, allocations: 106.2 kB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.9672, allocations: 67.47 kB / 1.24 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.9697, allocations: 1.39 MB / 1.241 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.9704, allocations: 0.9986 MB / 1.242 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003154/0.9707, allocations: 100.7 kB / 1.242 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.9708, allocations: 39.44 kB / 1.242 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of SimCode: time 4.5e-07/0.9708, allocations: 0 / 1.242 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of Templates: time 0.0135/0.9843, allocations: 5.614 MB / 1.248 GB, free: 5.496 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches