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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001722/0.001722, allocations: 107.8 kB / 16.39 MB, free: 6.453 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.001955/0.001955, allocations: 189.5 kB / 17.32 MB, free: 5.754 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.59/2.59, allocations: 442.7 MB / 0.7167 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 63.89 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9291/0.9315, allocations: 153 MB / 1.177 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004365/0.9359, allocations: 2.742 MB / 1.179 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.9379, allocations: 1.088 MB / 1.181 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.9382, allocations: 4 kB / 1.181 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.9389, allocations: 214.6 kB / 1.181 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.9392, allocations: 83.23 kB / 1.181 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.9397, allocations: 179.7 kB / 1.181 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005/0.9402, allocations: 403.8 kB / 1.181 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.9406, allocations: 217.5 kB / 1.182 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.9408, allocations: 159.2 kB / 1.182 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.9411, allocations: 175 kB / 1.182 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.9412, allocations: 40 kB / 1.182 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.9415, allocations: 183.8 kB / 1.182 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.9418, allocations: 259.2 kB / 1.182 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.9421, allocations: 349.6 kB / 1.183 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009468/0.9431, allocations: 0.9631 MB / 1.184 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.9431, allocations: 0 / 1.184 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9431, allocations: 0 / 1.184 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.492e-05/0.9431, allocations: 3.938 kB / 1.184 GB, free: 3.703 MB / 0.9044 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.00172/0.9448, allocations: 1.131 MB / 1.185 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.9449, allocations: 8.031 kB / 1.185 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.9463, allocations: 239.4 kB / 1.185 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.9477, allocations: 0.7228 MB / 1.186 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.9478, allocations: 28.97 kB / 1.186 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.9478, allocations: 28.38 kB / 1.186 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000853/0.9487, allocations: 382.5 kB / 1.186 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.9487, allocations: 3.938 kB / 1.186 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.9488, allocations: 20 kB / 1.186 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.9488, allocations: 11.94 kB / 1.186 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.9498, allocations: 414.4 kB / 1.187 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.953, allocations: 1.776 MB / 1.188 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.9537, allocations: 218.6 kB / 1.188 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.9541, allocations: 104.8 kB / 1.189 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.9541, allocations: 4 kB / 1.189 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.9541, allocations: 34.56 kB / 1.189 GB, free: 14.37 MB / 0.92 GB Notification: Performance of pre-optimization done (n=20): time 2.385e-06/0.9542, allocations: 4 kB / 1.189 GB, free: 14.37 MB / 0.92 GB Notification: Performance of matching and sorting (n=20): time 0.001131/0.9553, allocations: 374.8 kB / 1.189 GB, free: 14 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.9553, allocations: 55.41 kB / 1.189 GB, free: 13.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.9568, allocations: 1.243 MB / 1.19 GB, free: 12.67 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.9568, allocations: 29.7 kB / 1.19 GB, free: 12.63 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.9572, allocations: 436.1 kB / 1.191 GB, free: 12.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.9573, allocations: 59.11 kB / 1.191 GB, free: 12.14 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.68e-05/0.9574, allocations: 61.59 kB / 1.191 GB, free: 12.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.9575, allocations: 314 kB / 1.191 GB, free: 11.76 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.9579, allocations: 147.9 kB / 1.191 GB, free: 11.62 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.9583, allocations: 202.7 kB / 1.191 GB, free: 11.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.9589, allocations: 287.6 kB / 1.192 GB, free: 11.1 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9589, allocations: 0 / 1.192 GB, free: 11.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009221/0.9599, allocations: 458.8 kB / 1.192 GB, free: 10.65 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.9599, allocations: 4 kB / 1.192 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.9599, allocations: 8 kB / 1.192 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.9599, allocations: 3.938 kB / 1.192 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.9603, allocations: 67.86 kB / 1.192 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.9603, allocations: 8 kB / 1.192 GB, free: 10.56 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.9606, allocations: 31.67 kB / 1.192 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.9606, allocations: 15.98 kB / 1.192 GB, free: 10.51 MB / 0.92 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.0003115/0.9609, allocations: 265.7 kB / 1.193 GB, free: 10.24 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.9611, allocations: 82.88 kB / 1.193 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008826/0.9619, allocations: 329.8 kB / 1.193 GB, free: 9.828 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.962, allocations: 0 / 1.193 GB, free: 9.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.962, allocations: 7.938 kB / 1.193 GB, free: 9.82 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.9622, allocations: 203.9 kB / 1.193 GB, free: 9.602 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.9623, allocations: 8 kB / 1.193 GB, free: 9.594 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.9626, allocations: 15.98 kB / 1.193 GB, free: 9.578 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.9626, allocations: 15.97 kB / 1.193 GB, free: 9.562 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008246/0.9635, allocations: 319.1 kB / 1.193 GB, free: 9.246 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007672/0.9642, allocations: 470.5 kB / 1.194 GB, free: 8.77 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003108/0.9646, allocations: 97.83 kB / 1.194 GB, free: 8.676 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001056/0.9656, allocations: 0.9028 MB / 1.195 GB, free: 7.762 MB / 0.92 GB Notification: Performance of Backend: time 4.71e-07/0.9656, allocations: 0 / 1.195 GB, free: 7.762 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.9666, allocations: 298.1 kB / 1.195 GB, free: 7.465 MB / 0.92 GB Notification: Performance of SimCode: time 0.002144/0.9688, allocations: 1.766 MB / 1.197 GB, free: 5.645 MB / 0.92 GB Notification: Performance of Templates: time 0.01516/0.984, allocations: 6.667 MB / 1.203 GB, free: 14.99 MB / 0.9356 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