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.001281/0.001281, allocations: 108.6 kB / 15.73 MB, free: 72 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.001519/0.001519, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.699/2.699, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.91 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3417, allocations: 151.6 MB / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004276/0.3461, allocations: 2.747 MB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.348, allocations: 1.085 MB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.3481, allocations: 8 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.3488, allocations: 214.5 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.349, allocations: 91.23 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.3495, allocations: 175.7 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.3499, allocations: 407.7 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.3502, allocations: 213.8 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.3504, allocations: 155.2 kB / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.3506, allocations: 171.1 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.3507, allocations: 40 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.351, allocations: 179.8 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.3513, allocations: 263.2 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.3516, allocations: 357.5 kB / 1.173 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.3527, allocations: 0.972 MB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3527, allocations: 0 / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3527, allocations: 0 / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.3528, allocations: 0 / 1.173 GB, free: 15.67 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.001554/0.3543, allocations: 1.154 MB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3544, allocations: 16.02 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.3557, allocations: 244 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.357, allocations: 0.7314 MB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3571, allocations: 29.03 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.3571, allocations: 28.38 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000835/0.358, allocations: 382.5 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.358, allocations: 3.938 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.358, allocations: 12 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.358, allocations: 12 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.3591, allocations: 418.4 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.3624, allocations: 1.768 MB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.3631, allocations: 222.5 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.3634, allocations: 96.81 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.3634, allocations: 11.98 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3635, allocations: 34.56 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/0.3635, allocations: 0 / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.001072/0.3646, allocations: 378.9 kB / 1.179 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.3647, allocations: 59.39 kB / 1.179 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.3662, allocations: 1.247 MB / 1.18 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.3663, allocations: 33.7 kB / 1.18 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.3666, allocations: 424.5 kB / 1.181 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.3667, allocations: 75.72 kB / 1.181 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.3668, allocations: 57.66 kB / 1.181 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3669, allocations: 321.9 kB / 1.181 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.3673, allocations: 143.9 kB / 1.181 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.3677, allocations: 207.4 kB / 1.181 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006671/0.3683, allocations: 290.9 kB / 1.182 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3684, allocations: 0 / 1.182 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008822/0.3692, allocations: 462.3 kB / 1.182 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3693, allocations: 4 kB / 1.182 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3693, allocations: 4 kB / 1.182 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.3693, allocations: 7.938 kB / 1.182 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.3696, allocations: 59.88 kB / 1.182 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3697, allocations: 8 kB / 1.182 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.37, allocations: 35.77 kB / 1.182 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.37, allocations: 12 kB / 1.182 GB, free: 6.434 MB / 0.9356 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.0003152/0.3703, allocations: 269.7 kB / 1.182 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.3704, allocations: 87.39 kB / 1.183 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008774/0.3713, allocations: 329.8 kB / 1.183 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3713, allocations: 0 / 1.183 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3713, allocations: 0 / 1.183 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3713, allocations: 4 kB / 1.183 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.3731, allocations: 1.011 MB / 1.184 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3732, allocations: 0 / 1.184 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.3734, allocations: 56.03 kB / 1.184 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3735, allocations: 4 kB / 1.184 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.3735, allocations: 8 kB / 1.184 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3735, allocations: 3.984 kB / 1.184 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.3735, allocations: 4 kB / 1.184 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007784/0.3743, allocations: 446.5 kB / 1.184 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.3746, allocations: 212.4 kB / 1.185 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.3747, allocations: 8 kB / 1.185 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.375, allocations: 11.98 kB / 1.185 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.3751, allocations: 23.92 kB / 1.185 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.3751, allocations: 15.98 kB / 1.185 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001216/0.3763, allocations: 0.9028 MB / 1.185 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3763, allocations: 0 / 1.185 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004824/0.3768, allocations: 99.78 kB / 1.186 GB, free: 2.816 MB / 0.9356 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.0002588/0.3771, allocations: 115.2 kB / 1.186 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007637/0.3778, allocations: 275.7 kB / 1.186 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3779, allocations: 0 / 1.186 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.3782, allocations: 112.1 kB / 1.186 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/0.3788, allocations: 73.08 kB / 1.186 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.3811, allocations: 1.39 MB / 1.187 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.3818, allocations: 0.9991 MB / 1.188 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.3821, allocations: 100.7 kB / 1.189 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3823, allocations: 39.44 kB / 1.189 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.3823, allocations: 0 / 1.189 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of Templates: time 0.01294/0.3952, allocations: 5.599 MB / 1.194 GB, free: 10.05 MB / 0.9512 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=480 -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