Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.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.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP_h|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP_h|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009559/0.00956, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.843/2.843, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 8 kB / 0.8728 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7557/0.756, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery): time 0.06976/0.8258, allocations: 59.14 MB / 1.081 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.8489, allocations: 13.12 MB / 1.094 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/0.8523, allocations: 59.62 kB / 1.094 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003496/0.8558, allocations: 0.8138 MB / 1.094 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008494/0.8643, allocations: 2.147 MB / 1.097 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005125/0.8695, allocations: 1.427 MB / 1.098 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008831/0.8783, allocations: 5.567 MB / 1.103 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.8809, allocations: 1.111 MB / 1.104 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003957/0.8849, allocations: 1.318 MB / 1.106 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003557/0.8885, allocations: 1.178 MB / 1.107 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004742/0.889, allocations: 60 kB / 1.107 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004651/0.8936, allocations: 1.372 MB / 1.108 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006076/0.8943, allocations: 334.4 kB / 1.109 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.8959, allocations: 0.8448 MB / 1.109 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006345/0.9023, allocations: 2.671 MB / 1.112 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.9023, allocations: 0 / 1.112 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.895e-06/0.9023, allocations: 4 kB / 1.112 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.387e-05/0.9024, allocations: 0 / 1.112 GB, free: 4.41 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: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.004876/0.9073, allocations: 1.894 MB / 1.114 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.9074, allocations: 8.031 kB / 1.114 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/0.9119, allocations: 0.6502 MB / 1.115 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/0.9149, allocations: 1.406 MB / 1.116 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.9151, allocations: 149.4 kB / 1.116 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.9154, allocations: 104 kB / 1.116 GB, free: 76 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/0.9191, allocations: 1.416 MB / 1.118 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.9191, allocations: 0 / 1.118 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.9193, allocations: 40 kB / 1.118 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.9193, allocations: 28 kB / 1.118 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/0.9238, allocations: 1.499 MB / 1.119 GB, free: 13.06 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009285/0.9331, allocations: 5.666 MB / 1.125 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006251/0.9394, allocations: 1.552 MB / 1.126 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.9416, allocations: 0.6778 MB / 1.127 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.9429, allocations: 1.235 MB / 1.128 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002335/0.9453, allocations: 0.742 MB / 1.129 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=71): time 3.236e-06/0.9453, allocations: 4 kB / 1.129 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71): time 0.02369/0.969, allocations: 3.956 MB / 1.133 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.9691, allocations: 64.06 kB / 1.133 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.9713, allocations: 1.271 MB / 1.134 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.9715, allocations: 45.7 kB / 1.134 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007127/0.9722, allocations: 0.6619 MB / 1.135 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.9726, allocations: 244.6 kB / 1.135 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.9727, allocations: 69.67 kB / 1.135 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.9729, allocations: 345.8 kB / 1.135 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.9749, allocations: 0.6108 MB / 1.136 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.9771, allocations: 0.8259 MB / 1.137 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/0.981, allocations: 1.3 MB / 1.138 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.9811, allocations: 4 kB / 1.138 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.01095/0.992, allocations: 2.286 MB / 1.14 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.9923, allocations: 216.2 kB / 1.14 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.9923, allocations: 4 kB / 1.14 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.9941, allocations: 492.5 kB / 1.141 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.9951, allocations: 235.6 kB / 1.141 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/1.012, allocations: 3.799 MB / 1.145 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.014, allocations: 263 kB / 1.145 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/1.014, allocations: 39.98 kB / 1.145 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/1.014, allocations: 8 kB / 1.145 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01064/1.025, allocations: 2.126 MB / 1.147 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.025, allocations: 0 / 1.147 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/1.027, allocations: 0.4927 MB / 1.148 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.028, allocations: 223.7 kB / 1.148 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/1.045, allocations: 3.801 MB / 1.152 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/1.047, allocations: 251.1 kB / 1.152 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.047, allocations: 43.91 kB / 1.152 GB, free: 10.29 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (fal.y,chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0008347/1.048, allocations: 408.9 kB / 1.152 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/1.048, allocations: 154.2 kB / 1.152 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.059, allocations: 2.34 MB / 1.155 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/1.059, allocations: 19.88 kB / 1.155 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.059, allocations: 0 / 1.155 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01036/1.069, allocations: 2.097 MB / 1.157 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/1.084, allocations: 4.136 MB / 1.161 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.084, allocations: 4.125 kB / 1.161 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/1.085, allocations: 196.3 kB / 1.161 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/1.087, allocations: 496.5 kB / 1.161 GB, free: 228 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/1.087, allocations: 31.97 kB / 1.161 GB, free: 196 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/1.104, allocations: 3.787 MB / 1.165 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.104, allocations: 7.938 kB / 1.165 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/1.117, allocations: 3.186 MB / 1.168 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.118, allocations: 378.7 kB / 1.169 GB, free: 8.605 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/1.118, allocations: 16 kB / 1.169 GB, free: 8.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/1.12, allocations: 205 kB / 1.169 GB, free: 8.391 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/1.12, allocations: 80.34 kB / 1.169 GB, free: 8.312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.12, allocations: 36.16 kB / 1.169 GB, free: 8.277 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001514/1.122, allocations: 0.9129 MB / 1.17 GB, free: 7.367 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.122, allocations: 0 / 1.17 GB, free: 7.367 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002579/1.125, allocations: 0.8578 MB / 1.171 GB, free: 6.508 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/1.126, allocations: 0.5125 MB / 1.171 GB, free: 6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.009411/1.135, allocations: 2.778 MB / 1.174 GB, free: 3.176 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.135, allocations: 0 / 1.174 GB, free: 3.176 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003648/1.139, allocations: 1.03 MB / 1.175 GB, free: 2.129 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005351/1.144, allocations: 0.7661 MB / 1.176 GB, free: 1.371 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007524/1.152, allocations: 3.545 MB / 1.179 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.153, allocations: 1.242 MB / 1.18 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001722/1.155, allocations: 348.8 kB / 1.181 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/1.155, allocations: 119.4 kB / 1.181 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of SimCode: time 8.11e-07/1.155, allocations: 0 / 1.181 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of Templates: time 0.07362/1.229, allocations: 40.98 MB / 1.221 GB, free: 3.41 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_ElectricEIR_HeatRecovery.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches