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.286/2.286, allocations: 390.5 MB / 398 MB, free: 10.91 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.00141/0.001411, allocations: 184.8 kB / 491.2 MB, free: 1.547 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.624/1.624, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.001002/0.001002, allocations: 87.95 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.958e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3173, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.286/1.604, allocations: 431 MB / 1.633 GB, free: 36 kB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/1.604, allocations: 85.12 kB / 1.633 GB, free: 0 / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.682/4.286, allocations: 0.6343 GB / 2.268 GB, free: 249.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.494e-06/4.286, allocations: 0 / 2.268 GB, free: 249.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001655/4.286, allocations: 47.23 kB / 2.268 GB, free: 249.4 MB / 1.151 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.00368/4.29, allocations: 1.764 MB / 2.269 GB, free: 248.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/4.29, allocations: 7.812 kB / 2.269 GB, free: 248.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/4.293, allocations: 0.578 MB / 2.27 GB, free: 248.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/4.297, allocations: 1.659 MB / 2.272 GB, free: 248.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/4.297, allocations: 107.7 kB / 2.272 GB, free: 248.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/4.297, allocations: 63.41 kB / 2.272 GB, free: 248.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001525/4.299, allocations: 0.9668 MB / 2.273 GB, free: 248.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/4.3, allocations: 1.023 MB / 2.274 GB, free: 248.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/4.3, allocations: 0 / 2.274 GB, free: 248.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/4.3, allocations: 2.688 kB / 2.274 GB, free: 248.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/4.3, allocations: 32.45 kB / 2.274 GB, free: 248.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006817/4.307, allocations: 5.349 MB / 2.279 GB, free: 245.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/4.311, allocations: 1.104 MB / 2.28 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/4.312, allocations: 454.8 kB / 2.28 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/4.313, allocations: 1.16 MB / 2.282 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007145/4.313, allocations: 0.5447 MB / 2.282 GB, free: 244.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 2.245e-06/4.314, allocations: 0 / 2.282 GB, free: 244.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.009755/4.323, allocations: 1.699 MB / 2.284 GB, free: 244.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/4.323, allocations: 120.6 kB / 2.284 GB, free: 244 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/4.325, allocations: 1.005 MB / 2.285 GB, free: 243.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002655/4.325, allocations: 32.55 kB / 2.285 GB, free: 243.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/4.326, allocations: 0.6792 MB / 2.286 GB, free: 243.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/4.326, allocations: 228.2 kB / 2.286 GB, free: 243.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/4.326, allocations: 0 / 2.286 GB, free: 243.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/4.326, allocations: 337.2 kB / 2.286 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/4.327, allocations: 357.8 kB / 2.286 GB, free: 243.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006977/4.327, allocations: 0.5909 MB / 2.287 GB, free: 242.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009939/4.328, allocations: 416.5 kB / 2.287 GB, free: 242.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/4.328, allocations: 3.938 kB / 2.287 GB, free: 242.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.009415/4.338, allocations: 1.81 MB / 2.289 GB, free: 242.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002772/4.338, allocations: 1.199 MB / 2.29 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/4.338, allocations: 7.219 kB / 2.29 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000792/4.339, allocations: 494.5 kB / 2.291 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/4.34, allocations: 189.4 kB / 2.291 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/4.352, allocations: 3.265 MB / 2.294 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/4.354, allocations: 205.1 kB / 2.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/4.354, allocations: 46.72 kB / 2.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/4.354, allocations: 3.719 kB / 2.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009238/4.363, allocations: 1.64 MB / 2.296 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/4.363, allocations: 3.75 kB / 2.296 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007668/4.364, allocations: 496.8 kB / 2.297 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/4.365, allocations: 190.2 kB / 2.297 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/4.377, allocations: 3.285 MB / 2.3 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/4.379, allocations: 184.8 kB / 2.3 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/4.38, allocations: 49.09 kB / 2.3 GB, free: 239 MB / 1.151 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 () * 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 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003836/4.38, allocations: 126.9 kB / 2.3 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/4.38, allocations: 141.2 kB / 2.3 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/4.39, allocations: 1.884 MB / 2.302 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/4.391, allocations: 7.125 kB / 2.302 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/4.391, allocations: 3.906 kB / 2.302 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009021/4.4, allocations: 1.714 MB / 2.304 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/4.412, allocations: 3.824 MB / 2.308 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/4.412, allocations: 3.812 kB / 2.308 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/4.413, allocations: 155.1 kB / 2.308 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008238/4.414, allocations: 494.5 kB / 2.308 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/4.414, allocations: 29.5 kB / 2.308 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/4.428, allocations: 3.372 MB / 2.312 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/4.428, allocations: 5.188 kB / 2.312 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/4.439, allocations: 2.849 MB / 2.314 GB, free: 235.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/4.441, allocations: 474.5 kB / 2.315 GB, free: 235.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/4.441, allocations: 11.42 kB / 2.315 GB, free: 235.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/4.442, allocations: 155 kB / 2.315 GB, free: 235.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/4.443, allocations: 81.59 kB / 2.315 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/4.443, allocations: 47.78 kB / 2.315 GB, free: 235.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001078/4.444, allocations: 0.7621 MB / 2.316 GB, free: 235.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/4.444, allocations: 0 / 2.316 GB, free: 235.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003101/4.447, allocations: 0.9361 MB / 2.317 GB, free: 235.2 MB / 1.151 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) * 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.00154/4.449, allocations: 0.8255 MB / 2.318 GB, free: 235 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005215/4.454, allocations: 1.906 MB / 2.319 GB, free: 234.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/4.454, allocations: 2.969 kB / 2.319 GB, free: 234.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003173/4.457, allocations: 0.879 MB / 2.32 GB, free: 234.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/4.46, allocations: 0.6297 MB / 2.321 GB, free: 234.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/4.465, allocations: 2.171 MB / 2.323 GB, free: 233.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/4.466, allocations: 1.278 MB / 2.324 GB, free: 233.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001858/4.468, allocations: 424.4 kB / 2.325 GB, free: 233.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/4.468, allocations: 86.48 kB / 2.325 GB, free: 233.1 MB / 1.151 GB Notification: Performance of SimCode: time 9.52e-07/4.468, allocations: 0 / 2.325 GB, free: 233.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05944/4.527, allocations: 41.52 MB / 2.365 GB, free: 230.9 MB / 1.151 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