Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 249.3 MB / 261.8 MB, free: 5.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 178.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008955/0.0008954, allocations: 85.88 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.823e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2255, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.581/1.806, allocations: 409.6 MB / 1.292 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/1.807, allocations: 88.47 kB / 1.292 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.667/3.473, allocations: 0.6056 GB / 1.897 GB, free: 43.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/3.473, allocations: 4 kB / 1.897 GB, free: 43.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000131/3.474, allocations: 39.98 kB / 1.897 GB, free: 43.21 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003158/3.477, allocations: 1.753 MB / 1.899 GB, free: 41.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/3.477, allocations: 8.031 kB / 1.899 GB, free: 41.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/3.48, allocations: 0.6317 MB / 1.9 GB, free: 40.76 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/3.483, allocations: 1.631 MB / 1.901 GB, free: 39.08 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/3.483, allocations: 145.4 kB / 1.902 GB, free: 38.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/3.484, allocations: 100 kB / 1.902 GB, free: 38.82 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/3.485, allocations: 1.104 MB / 1.903 GB, free: 37.69 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/3.485, allocations: 4 kB / 1.903 GB, free: 37.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/3.485, allocations: 36 kB / 1.903 GB, free: 37.65 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/3.485, allocations: 27.98 kB / 1.903 GB, free: 37.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/3.487, allocations: 0.9527 MB / 1.904 GB, free: 36.67 MB / 0.8698 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.006014/3.493, allocations: 5.362 MB / 1.909 GB, free: 30.96 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003938/3.497, allocations: 1.108 MB / 1.91 GB, free: 29.85 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005921/3.497, allocations: 442.8 kB / 1.91 GB, free: 29.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006767/3.498, allocations: 1.251 MB / 1.912 GB, free: 27.89 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007155/3.499, allocations: 0.5259 MB / 1.912 GB, free: 27.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 2.324e-06/3.499, allocations: 4 kB / 1.912 GB, free: 27.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.001554/3.5, allocations: 0.872 MB / 1.913 GB, free: 26.46 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/3.5, allocations: 115.4 kB / 1.913 GB, free: 26.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/3.502, allocations: 1.129 MB / 1.914 GB, free: 25.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-05/3.502, allocations: 45.7 kB / 1.914 GB, free: 25.13 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/3.502, allocations: 0.6738 MB / 1.915 GB, free: 24.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/3.502, allocations: 228.7 kB / 1.915 GB, free: 24.22 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/3.503, allocations: 12 kB / 1.915 GB, free: 24.21 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/3.503, allocations: 337.9 kB / 1.915 GB, free: 23.88 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/3.503, allocations: 345.5 kB / 1.916 GB, free: 23.54 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/3.504, allocations: 0.6078 MB / 1.916 GB, free: 22.82 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/3.504, allocations: 405.8 kB / 1.917 GB, free: 22.42 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/3.504, allocations: 0 / 1.917 GB, free: 22.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001434/3.506, allocations: 1.019 MB / 1.918 GB, free: 21.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002548/3.506, allocations: 1.202 MB / 1.919 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/3.506, allocations: 4 kB / 1.919 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/3.506, allocations: 4 kB / 1.919 GB, free: 20.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/3.507, allocations: 275.7 kB / 1.919 GB, free: 19.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/3.507, allocations: 8 kB / 1.919 GB, free: 19.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/3.509, allocations: 235 kB / 1.919 GB, free: 19.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/3.509, allocations: 51.95 kB / 1.92 GB, free: 19.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/3.509, allocations: 10.03 kB / 1.92 GB, free: 19.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00122/3.51, allocations: 0.8748 MB / 1.92 GB, free: 18.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/3.51, allocations: 4 kB / 1.92 GB, free: 18.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/3.51, allocations: 7.984 kB / 1.92 GB, free: 18.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/3.511, allocations: 276 kB / 1.921 GB, free: 18.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/3.511, allocations: 8 kB / 1.921 GB, free: 18.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/3.513, allocations: 235 kB / 1.921 GB, free: 18.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/3.513, allocations: 51.97 kB / 1.921 GB, free: 18.04 MB / 0.8698 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 (87): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002248/3.513, allocations: 152.9 kB / 1.921 GB, free: 17.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/3.513, allocations: 146.2 kB / 1.921 GB, free: 17.74 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/3.515, allocations: 1.083 MB / 1.922 GB, free: 16.64 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/3.515, allocations: 15.98 kB / 1.922 GB, free: 16.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/3.515, allocations: 0 / 1.922 GB, free: 16.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/3.516, allocations: 0.9051 MB / 1.923 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/3.52, allocations: 3.079 MB / 1.926 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/3.52, allocations: 4 kB / 1.926 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/3.521, allocations: 248.2 kB / 1.926 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/3.521, allocations: 8 kB / 1.926 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/3.521, allocations: 27.97 kB / 1.926 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/3.522, allocations: 15.89 kB / 1.926 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/3.522, allocations: 4 kB / 1.926 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/3.524, allocations: 2.056 MB / 1.928 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000695/3.524, allocations: 476.4 kB / 1.929 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/3.525, allocations: 20.05 kB / 1.929 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/3.526, allocations: 187.6 kB / 1.929 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/3.526, allocations: 72.41 kB / 1.929 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.863e-05/3.526, allocations: 47.92 kB / 1.929 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001088/3.527, allocations: 0.9074 MB / 1.93 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/3.527, allocations: 0 / 1.93 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002152/3.529, allocations: 0.8344 MB / 1.931 GB, free: 7.266 MB / 0.8698 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 (73): * Single equations (assignments): 65 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001233/3.531, allocations: 0.8094 MB / 1.932 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001914/3.533, allocations: 1.468 MB / 1.933 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/3.533, allocations: 0 / 1.933 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006845/3.533, allocations: 0.5068 MB / 1.934 GB, free: 4.473 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/3.537, allocations: 0.7587 MB / 1.934 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/3.539, allocations: 1.987 MB / 1.936 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/3.54, allocations: 1.268 MB / 1.938 GB, free: 360 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.5364/4.076, allocations: 475.8 kB / 1.938 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/4.077, allocations: 94.02 kB / 1.938 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.024e-06/4.077, allocations: 0 / 1.938 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.08027/4.157, allocations: 36.48 MB / 1.974 GB, free: 139.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches