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.001407/0.001407, allocations: 106.3 kB / 16.41 MB, free: 6.496 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.001464/0.001464, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 60.14 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9248/0.9263, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004308/0.9307, allocations: 2.752 MB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.9327, allocations: 1.08 MB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.9331, allocations: 8 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007131/0.9338, allocations: 210.7 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.9341, allocations: 87.23 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.9347, allocations: 171.7 kB / 1.213 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.9352, allocations: 411.7 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.9356, allocations: 225.5 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.9359, allocations: 143.4 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.9361, allocations: 186.9 kB / 1.214 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.153e-05/0.9362, allocations: 40 kB / 1.214 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.9365, allocations: 171.8 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.9368, allocations: 263.1 kB / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.9371, allocations: 353.6 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000994/0.9381, allocations: 0.9631 MB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9381, allocations: 4 kB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9381, allocations: 0 / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.372e-05/0.9381, allocations: 0 / 1.215 GB, free: 6.566 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.001772/0.9399, allocations: 1.123 MB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.94, allocations: 16.02 kB / 1.216 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.9413, allocations: 235.5 kB / 1.217 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.9427, allocations: 0.7228 MB / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.9428, allocations: 25.03 kB / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.9428, allocations: 28.38 kB / 1.217 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008584/0.9437, allocations: 386.5 kB / 1.218 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.9437, allocations: 3.938 kB / 1.218 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.9438, allocations: 12 kB / 1.218 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.9438, allocations: 8 kB / 1.218 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.9448, allocations: 426.3 kB / 1.218 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.9482, allocations: 1.775 MB / 1.22 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.9489, allocations: 222.5 kB / 1.22 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.9492, allocations: 104.8 kB / 1.22 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.9492, allocations: 7.984 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.9493, allocations: 34.56 kB / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.944e-06/0.9493, allocations: 0 / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.001123/0.9504, allocations: 370 kB / 1.221 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.9505, allocations: 59.39 kB / 1.221 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.952, allocations: 1.247 MB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.952, allocations: 29.7 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.9524, allocations: 436.4 kB / 1.222 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.9525, allocations: 63.09 kB / 1.222 GB, free: 15 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.696e-05/0.9526, allocations: 53.61 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.9527, allocations: 317.9 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.953, allocations: 147.9 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.9534, allocations: 199.2 kB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.9541, allocations: 283.5 kB / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9541, allocations: 0 / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000936/0.955, allocations: 466.2 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9551, allocations: 6.031 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.9551, allocations: 4 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.9551, allocations: 3.938 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.9554, allocations: 59.89 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.9555, allocations: 4 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.9558, allocations: 39.67 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.9558, allocations: 12 kB / 1.224 GB, free: 13.39 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.0003155/0.9561, allocations: 269.7 kB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.9563, allocations: 82.88 kB / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008456/0.9571, allocations: 332.1 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.9571, allocations: 4 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9571, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.9571, allocations: 4 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.9588, allocations: 0.9996 MB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.9588, allocations: 4 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.9591, allocations: 43.91 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.9591, allocations: 4 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.9592, allocations: 8.125 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.9592, allocations: 15.92 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.9592, allocations: 4 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.96, allocations: 431.7 kB / 1.226 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.9603, allocations: 207.9 kB / 1.226 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.9603, allocations: 4 kB / 1.226 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.9607, allocations: 19.98 kB / 1.226 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.9607, allocations: 19.86 kB / 1.226 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.9608, allocations: 11.98 kB / 1.226 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001088/0.9619, allocations: 0.9028 MB / 1.227 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9619, allocations: 4 kB / 1.227 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004562/0.9623, allocations: 103.8 kB / 1.227 GB, free: 9.793 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.0002294/0.9626, allocations: 111.2 kB / 1.227 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007729/0.9633, allocations: 279.7 kB / 1.228 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.9634, allocations: 4 kB / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.9637, allocations: 107.8 kB / 1.228 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.9642, allocations: 63.42 kB / 1.228 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.9666, allocations: 1.436 MB / 1.229 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/0.9673, allocations: 0.9947 MB / 1.23 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.9674, allocations: 43.42 kB / 1.23 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.9674, allocations: 4 kB / 1.23 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of Templates: time 0.01383/0.9813, allocations: 9.025 MB / 1.239 GB, free: 13.66 MB / 0.9669 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/jenkins1/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