Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.346/2.346, allocations: 393.5 MB / 408.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 190.8 kB / 0.4902 GB, free: 2.273 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.796/1.796, allocations: 223.1 MB / 0.7992 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008797/0.0008796, allocations: 100.2 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004698, allocations: 8.531 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3268, allocations: 143 MB / 1.229 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.644, allocations: 431.8 MB / 1.651 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/1.645, allocations: 96.28 kB / 1.651 GB, free: 9.961 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.989/3.633, allocations: 0.6398 GB / 2.291 GB, free: 11.84 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.615e-06/3.633, allocations: 0 / 2.291 GB, free: 11.84 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001495/3.634, allocations: 43.98 kB / 2.291 GB, free: 11.8 MB / 1.167 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.004488/3.638, allocations: 2.078 MB / 2.293 GB, free: 9.656 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/3.638, allocations: 11.98 kB / 2.293 GB, free: 9.645 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/3.641, allocations: 0.5754 MB / 2.293 GB, free: 9.066 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/3.645, allocations: 1.676 MB / 2.295 GB, free: 7.336 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/3.645, allocations: 153.4 kB / 2.295 GB, free: 7.176 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/3.645, allocations: 111.9 kB / 2.295 GB, free: 7.066 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/3.648, allocations: 1.354 MB / 2.297 GB, free: 5.676 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/3.648, allocations: 3.938 kB / 2.297 GB, free: 5.672 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/3.649, allocations: 40 kB / 2.297 GB, free: 5.633 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/3.649, allocations: 28 kB / 2.297 GB, free: 5.605 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/3.652, allocations: 1.397 MB / 2.298 GB, free: 4.207 MB / 1.167 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.7664/4.418, allocations: 5.521 MB / 2.303 GB, free: 234.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006221/4.425, allocations: 1.385 MB / 2.305 GB, free: 234.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008928/4.425, allocations: 1.16 MB / 2.306 GB, free: 233.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002265/4.428, allocations: 0.715 MB / 2.307 GB, free: 233.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=69): time 2.455e-06/4.428, allocations: 0 / 2.307 GB, free: 233.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=69): time 0.02717/4.455, allocations: 4.287 MB / 2.311 GB, free: 233.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/4.455, allocations: 59.95 kB / 2.311 GB, free: 233.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/4.457, allocations: 1.163 MB / 2.312 GB, free: 232.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/4.458, allocations: 45.52 kB / 2.312 GB, free: 232.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006912/4.458, allocations: 0.6771 MB / 2.313 GB, free: 232.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/4.459, allocations: 236.6 kB / 2.313 GB, free: 232.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/4.459, allocations: 15.16 kB / 2.313 GB, free: 232.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/4.459, allocations: 333 kB / 2.313 GB, free: 232.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/4.461, allocations: 0.5552 MB / 2.314 GB, free: 232.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/4.462, allocations: 0.813 MB / 2.315 GB, free: 232.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/4.464, allocations: 0.5947 MB / 2.315 GB, free: 232 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/4.464, allocations: 1.656 kB / 2.315 GB, free: 232 MB / 1.167 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01309/4.477, allocations: 2.357 MB / 2.318 GB, free: 231.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003371/4.478, allocations: 1.197 MB / 2.319 GB, free: 230.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/4.478, allocations: 4.531 kB / 2.319 GB, free: 230.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/4.48, allocations: 0.7126 MB / 2.319 GB, free: 230.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/4.481, allocations: 194 kB / 2.32 GB, free: 230.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0236/4.505, allocations: 4.801 MB / 2.324 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/4.508, allocations: 230.6 kB / 2.324 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005048/4.509, allocations: 50 kB / 2.325 GB, free: 229.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/4.509, allocations: 5.156 kB / 2.325 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01434/4.523, allocations: 2.201 MB / 2.327 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/4.523, allocations: 3.469 kB / 2.327 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/4.526, allocations: 0.7217 MB / 2.327 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/4.527, allocations: 187.9 kB / 2.328 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/4.548, allocations: 4.811 MB / 2.332 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/4.55, allocations: 213.1 kB / 2.332 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/4.551, allocations: 53.42 kB / 2.333 GB, free: 228 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001387/4.552, allocations: 412.2 kB / 2.333 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006308/4.553, allocations: 150.2 kB / 2.333 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/4.565, allocations: 2.424 MB / 2.335 GB, free: 227.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/4.565, allocations: 7.688 kB / 2.335 GB, free: 227.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/4.565, allocations: 0.5 kB / 2.335 GB, free: 227.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01134/4.577, allocations: 2.244 MB / 2.338 GB, free: 227.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/4.594, allocations: 4.352 MB / 2.342 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/4.594, allocations: 7.688 kB / 2.342 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007424/4.594, allocations: 152.5 kB / 2.342 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/4.596, allocations: 0.7186 MB / 2.343 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001702/4.597, allocations: 31.69 kB / 2.343 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/4.616, allocations: 4.774 MB / 2.347 GB, free: 225.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/4.616, allocations: 13.86 kB / 2.347 GB, free: 225.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/4.63, allocations: 3.615 MB / 2.351 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/4.632, allocations: 488.2 kB / 2.351 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006153/4.632, allocations: 18.41 kB / 2.351 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/4.634, allocations: 179.4 kB / 2.352 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/4.635, allocations: 81.7 kB / 2.352 GB, free: 224.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/4.635, allocations: 46.53 kB / 2.352 GB, free: 224.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002252/4.637, allocations: 0.9349 MB / 2.353 GB, free: 224.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.11e-07/4.637, allocations: 4.656 kB / 2.353 GB, free: 224.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004748/4.642, allocations: 0.9597 MB / 2.354 GB, free: 224.2 MB / 1.167 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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00219/4.644, allocations: 0.8117 MB / 2.354 GB, free: 224 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01102/4.655, allocations: 2.814 MB / 2.357 GB, free: 223.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/4.655, allocations: 1.031 kB / 2.357 GB, free: 223.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004437/4.66, allocations: 1.101 MB / 2.358 GB, free: 223.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/4.664, allocations: 0.7539 MB / 2.359 GB, free: 223.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007036/4.671, allocations: 3.401 MB / 2.362 GB, free: 222.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/4.672, allocations: 1.279 MB / 2.364 GB, free: 221.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001838/4.674, allocations: 341.8 kB / 2.364 GB, free: 221.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/4.674, allocations: 115.6 kB / 2.364 GB, free: 221.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.393e-06/4.674, allocations: 0 / 2.364 GB, free: 221.4 MB / 1.167 GB Notification: Performance of Templates: time 0.07116/4.746, allocations: 45.56 MB / 2.408 GB, free: 218.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricEIR_HeatRecovery.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches