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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008863/0.008863, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001609/0.001609, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.413/1.413, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 71.88 kB / 0.9509 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9411/0.9433, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004844/0.9481, allocations: 2.731 MB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.9512, allocations: 1.095 MB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.9517, allocations: 5.25 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.9528, allocations: 211.2 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.9531, allocations: 88.17 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009294/0.954, allocations: 179.9 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005717/0.9546, allocations: 407.8 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.955, allocations: 218.2 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.9552, allocations: 150.7 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.9554, allocations: 178 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.875e-05/0.9555, allocations: 40 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.956, allocations: 171.8 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.9563, allocations: 266.8 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.9565, allocations: 353.8 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.9577, allocations: 0.9605 MB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9577, allocations: 0 / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9577, allocations: 0 / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.9578, allocations: 0.7188 kB / 1.095 GB, free: 1.203 MB / 0.8575 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.001701/0.9595, allocations: 1.129 MB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.9595, allocations: 9.25 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.9609, allocations: 235.6 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.9624, allocations: 0.7288 MB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.9624, allocations: 21.12 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.9625, allocations: 32.56 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/0.9634, allocations: 380.2 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.9634, allocations: 3.938 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.9635, allocations: 11.25 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.9635, allocations: 11.5 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.9646, allocations: 420.7 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.9681, allocations: 1.772 MB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.9688, allocations: 220.9 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.9691, allocations: 99.7 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.9691, allocations: 10.59 kB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.9692, allocations: 41.12 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 2.013e-06/0.9692, allocations: 0 / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001267/0.9705, allocations: 378.3 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.9705, allocations: 53.25 kB / 1.1 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.9727, allocations: 1.241 MB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.9728, allocations: 32.3 kB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.9732, allocations: 431.4 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.751e-05/0.9733, allocations: 65.47 kB / 1.102 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.9734, allocations: 59.41 kB / 1.102 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9735, allocations: 319.3 kB / 1.102 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.9739, allocations: 144.6 kB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.9743, allocations: 204.3 kB / 1.103 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.975, allocations: 289.7 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.975, allocations: 0 / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009885/0.976, allocations: 463.8 kB / 1.103 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.976, allocations: 5.594 kB / 1.103 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.976, allocations: 1.828 kB / 1.103 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.9761, allocations: 6.562 kB / 1.103 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.9764, allocations: 56.28 kB / 1.103 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.9764, allocations: 8.375 kB / 1.103 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.9767, allocations: 35.41 kB / 1.103 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.9768, allocations: 8.906 kB / 1.103 GB, free: 12.42 MB / 0.8731 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.0003427/0.9771, allocations: 272.8 kB / 1.104 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.9772, allocations: 85.09 kB / 1.104 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008865/0.9781, allocations: 325.4 kB / 1.104 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.9781, allocations: 2.125 kB / 1.104 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9782, allocations: 8.609 kB / 1.104 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.9782, allocations: 2.156 kB / 1.104 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.9801, allocations: 0.9992 MB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9801, allocations: 1.188 kB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.9804, allocations: 49.45 kB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.351e-06/0.9804, allocations: 3.094 kB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.9804, allocations: 8.969 kB / 1.105 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.9804, allocations: 2.562 kB / 1.105 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9804, allocations: 2.094 kB / 1.105 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.9813, allocations: 440.8 kB / 1.106 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.9815, allocations: 206.1 kB / 1.106 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.9816, allocations: 9.141 kB / 1.106 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.9819, allocations: 12.64 kB / 1.106 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.982, allocations: 26.22 kB / 1.106 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.982, allocations: 7.453 kB / 1.106 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001269/0.9833, allocations: 0.9101 MB / 1.107 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9833, allocations: 0 / 1.107 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005652/0.9839, allocations: 99.3 kB / 1.107 GB, free: 10.58 MB / 0.8731 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.0002792/0.9842, allocations: 115.6 kB / 1.107 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000809/0.985, allocations: 282.5 kB / 1.107 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.985, allocations: 1.781 kB / 1.107 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.9854, allocations: 107.3 kB / 1.107 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.9859, allocations: 62.92 kB / 1.107 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.9885, allocations: 1.379 MB / 1.109 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008535/0.9894, allocations: 0.9933 MB / 1.11 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004254/0.9898, allocations: 100.4 kB / 1.11 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.99, allocations: 47.67 kB / 1.11 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of SimCode: time 7.92e-07/0.99, allocations: 0 / 1.11 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of Templates: time 0.01756/1.008, allocations: 5.732 MB / 1.115 GB, free: 8.285 MB / 0.8731 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/jenkins/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