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.449/1.449, allocations: 249.5 MB / 257 MB, free: 6.879 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.001078/0.001078, allocations: 184.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.000955/0.000955, allocations: 86.48 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.819e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2584, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.565/1.824, allocations: 409.8 MB / 1.285 GB, free: 325.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.824, allocations: 87.91 kB / 1.286 GB, free: 325.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.704/3.528, allocations: 0.602 GB / 1.887 GB, free: 54.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.433e-06/3.528, allocations: 8 kB / 1.887 GB, free: 54.01 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001455/3.528, allocations: 39.83 kB / 1.888 GB, free: 53.97 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.003491/3.532, allocations: 1.745 MB / 1.889 GB, free: 52.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.997e-05/3.532, allocations: 16.03 kB / 1.889 GB, free: 52.17 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/3.535, allocations: 0.6239 MB / 1.89 GB, free: 51.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/3.538, allocations: 1.63 MB / 1.891 GB, free: 49.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/3.538, allocations: 113.4 kB / 1.892 GB, free: 49.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/3.539, allocations: 60 kB / 1.892 GB, free: 49.71 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00149/3.54, allocations: 0.9021 MB / 1.892 GB, free: 48.81 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/3.542, allocations: 0.9792 MB / 1.893 GB, free: 47.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/3.542, allocations: 0 / 1.893 GB, free: 47.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/3.542, allocations: 4 kB / 1.893 GB, free: 47.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/3.542, allocations: 20 kB / 1.893 GB, free: 47.77 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.006195/3.548, allocations: 5.202 MB / 1.899 GB, free: 42.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/3.552, allocations: 1.071 MB / 1.9 GB, free: 41.22 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/3.553, allocations: 425.2 kB / 1.9 GB, free: 40.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007381/3.553, allocations: 1.247 MB / 1.901 GB, free: 39.29 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006413/3.554, allocations: 0.5053 MB / 1.902 GB, free: 38.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 3.236e-06/3.554, allocations: 0 / 1.902 GB, free: 38.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.001939/3.556, allocations: 0.876 MB / 1.903 GB, free: 37.87 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/3.556, allocations: 115.4 kB / 1.903 GB, free: 37.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/3.557, allocations: 0.998 MB / 1.904 GB, free: 36.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.267e-05/3.557, allocations: 29.77 kB / 1.904 GB, free: 36.69 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000497/3.558, allocations: 0.6733 MB / 1.904 GB, free: 36.01 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/3.558, allocations: 212.8 kB / 1.905 GB, free: 35.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/3.558, allocations: 0 / 1.905 GB, free: 35.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/3.558, allocations: 334 kB / 1.905 GB, free: 35.47 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/3.559, allocations: 337.4 kB / 1.905 GB, free: 35.14 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/3.559, allocations: 0.5868 MB / 1.906 GB, free: 34.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000822/3.56, allocations: 402.5 kB / 1.906 GB, free: 34.05 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/3.56, allocations: 4 kB / 1.906 GB, free: 34.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001584/3.562, allocations: 0.9827 MB / 1.907 GB, free: 33.06 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003018/3.562, allocations: 1.197 MB / 1.908 GB, free: 31.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/3.562, allocations: 3.984 kB / 1.908 GB, free: 31.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/3.562, allocations: 8 kB / 1.908 GB, free: 31.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/3.563, allocations: 283.5 kB / 1.909 GB, free: 31.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/3.563, allocations: 8 kB / 1.909 GB, free: 31.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/3.565, allocations: 207.2 kB / 1.909 GB, free: 31.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/3.565, allocations: 47.97 kB / 1.909 GB, free: 31.24 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/3.565, allocations: 4 kB / 1.909 GB, free: 31.24 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/3.566, allocations: 0.8184 MB / 1.91 GB, free: 30.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/3.566, allocations: 4 kB / 1.91 GB, free: 30.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/3.566, allocations: 8 kB / 1.91 GB, free: 30.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/3.567, allocations: 272 kB / 1.91 GB, free: 30.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/3.568, allocations: 7.938 kB / 1.91 GB, free: 30.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/3.569, allocations: 203.2 kB / 1.91 GB, free: 29.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/3.569, allocations: 47.97 kB / 1.91 GB, free: 29.89 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.0002317/3.569, allocations: 124.8 kB / 1.91 GB, free: 29.76 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/3.57, allocations: 138.3 kB / 1.91 GB, free: 29.62 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/3.571, allocations: 1.056 MB / 1.911 GB, free: 28.55 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/3.572, allocations: 11.98 kB / 1.911 GB, free: 28.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/3.572, allocations: 0 / 1.911 GB, free: 28.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/3.573, allocations: 0.8933 MB / 1.912 GB, free: 27.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004107/3.577, allocations: 2.912 MB / 1.915 GB, free: 24.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/3.577, allocations: 7.938 kB / 1.915 GB, free: 24.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/3.578, allocations: 243.7 kB / 1.915 GB, free: 24.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/3.578, allocations: 8 kB / 1.915 GB, free: 24.33 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/3.578, allocations: 23.97 kB / 1.915 GB, free: 24.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/3.578, allocations: 4 kB / 1.915 GB, free: 24.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/3.578, allocations: 15.88 kB / 1.915 GB, free: 24.29 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/3.581, allocations: 1.974 MB / 1.917 GB, free: 22.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007041/3.581, allocations: 468.5 kB / 1.918 GB, free: 21.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/3.581, allocations: 11.98 kB / 1.918 GB, free: 21.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/3.583, allocations: 159.8 kB / 1.918 GB, free: 21.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/3.583, allocations: 80.36 kB / 1.918 GB, free: 21.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/3.583, allocations: 43.97 kB / 1.918 GB, free: 21.31 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000955/3.584, allocations: 0.757 MB / 1.919 GB, free: 20.55 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/3.584, allocations: 4 kB / 1.919 GB, free: 20.55 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002203/3.586, allocations: 0.8107 MB / 1.92 GB, free: 19.74 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.001351/3.587, allocations: 0.8035 MB / 1.92 GB, free: 19.01 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00197/3.589, allocations: 1.405 MB / 1.922 GB, free: 17.58 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/3.589, allocations: 4.062 kB / 1.922 GB, free: 17.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006602/3.59, allocations: 497.8 kB / 1.922 GB, free: 17.08 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/3.593, allocations: 0.6391 MB / 1.923 GB, free: 16.46 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/3.596, allocations: 1.936 MB / 1.925 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/3.597, allocations: 1.259 MB / 1.926 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001966/3.599, allocations: 460.5 kB / 1.926 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/3.599, allocations: 91.39 kB / 1.927 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/3.599, allocations: 3.938 kB / 1.927 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of Templates: time 0.6082/4.207, allocations: 29.31 MB / 1.955 GB, free: 147.4 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