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.441/1.441, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 182 kB / 326.5 MB, free: 2.223 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.537/1.537, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009275/0.0009274, allocations: 88.75 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 13.25 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2448, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9429/1.188, allocations: 409.6 MB / 1.3 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/1.188, allocations: 99.77 kB / 1.3 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.216/3.404, allocations: 0.6074 GB / 1.908 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.144e-06/3.404, allocations: 3.844 kB / 1.908 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002771/3.405, allocations: 48.53 kB / 1.908 GB, free: 178.4 MB / 0.8855 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.006396/3.411, allocations: 2.063 MB / 1.91 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/3.411, allocations: 10.47 kB / 1.91 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003938/3.415, allocations: 0.6266 MB / 1.91 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004839/3.42, allocations: 1.649 MB / 1.912 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/3.42, allocations: 153.6 kB / 1.912 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003883/3.421, allocations: 104.7 kB / 1.912 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003298/3.424, allocations: 1.313 MB / 1.913 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/3.424, allocations: 5.938 kB / 1.913 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/3.424, allocations: 37.55 kB / 1.913 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/3.424, allocations: 26.88 kB / 1.914 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003528/3.428, allocations: 1.387 MB / 1.915 GB, free: 173.7 MB / 0.8855 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.007657/3.435, allocations: 5.368 MB / 1.92 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005402/3.441, allocations: 1.356 MB / 1.921 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007484/3.442, allocations: 1.244 MB / 1.923 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001654/3.443, allocations: 0.6974 MB / 1.923 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=67): time 3.046e-06/3.443, allocations: 0 / 1.923 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67): time 0.004977/3.448, allocations: 1.827 MB / 1.925 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/3.448, allocations: 55.97 kB / 1.925 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/3.45, allocations: 1.146 MB / 1.926 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/3.45, allocations: 41.7 kB / 1.926 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005495/3.451, allocations: 0.6746 MB / 1.927 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/3.451, allocations: 231.4 kB / 1.927 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/3.451, allocations: 12 kB / 1.927 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/3.451, allocations: 337.6 kB / 1.928 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/3.453, allocations: 0.5505 MB / 1.928 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/3.454, allocations: 0.8211 MB / 1.929 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/3.456, allocations: 0.6021 MB / 1.929 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/3.456, allocations: 0 / 1.929 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00357/3.459, allocations: 1.449 MB / 1.931 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003232/3.46, allocations: 1.198 MB / 1.932 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/3.46, allocations: 0 / 1.932 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/3.46, allocations: 8 kB / 1.932 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/3.461, allocations: 276.5 kB / 1.932 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/3.461, allocations: 7.938 kB / 1.932 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/3.463, allocations: 229 kB / 1.933 GB, free: 155 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/3.463, allocations: 55.97 kB / 1.933 GB, free: 155 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/3.463, allocations: 6.188 kB / 1.933 GB, free: 155 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003128/3.466, allocations: 1.29 MB / 1.934 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/3.466, allocations: 3.984 kB / 1.934 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/3.466, allocations: 11.94 kB / 1.934 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/3.467, allocations: 275.9 kB / 1.934 GB, free: 153.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/3.467, allocations: 7.984 kB / 1.934 GB, free: 153.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/3.469, allocations: 239 kB / 1.934 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/3.469, allocations: 43.98 kB / 1.934 GB, free: 153.1 MB / 0.8855 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 (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.0009703/3.47, allocations: 417.3 kB / 1.935 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/3.471, allocations: 142.2 kB / 1.935 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/3.475, allocations: 1.518 MB / 1.936 GB, free: 151 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/3.475, allocations: 11.98 kB / 1.936 GB, free: 151 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/3.475, allocations: 0 / 1.936 GB, free: 151 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002937/3.478, allocations: 1.331 MB / 1.938 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007052/3.485, allocations: 3.372 MB / 1.941 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/3.485, allocations: 4 kB / 1.941 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/3.486, allocations: 240.2 kB / 1.941 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/3.486, allocations: 8 kB / 1.941 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/3.486, allocations: 27.98 kB / 1.941 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/3.486, allocations: 15.89 kB / 1.941 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/3.486, allocations: 4 kB / 1.941 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005217/3.491, allocations: 2.688 MB / 1.944 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/3.492, allocations: 479.8 kB / 1.944 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/3.493, allocations: 19.95 kB / 1.944 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/3.494, allocations: 183.7 kB / 1.945 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/3.494, allocations: 72.38 kB / 1.945 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/3.494, allocations: 59.7 kB / 1.945 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001447/3.496, allocations: 0.9163 MB / 1.946 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/3.496, allocations: 0 / 1.946 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002847/3.499, allocations: 0.8422 MB / 1.946 GB, free: 140.3 MB / 0.8855 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 (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.001518/3.5, allocations: 0.7903 MB / 1.947 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004829/3.505, allocations: 2.046 MB / 1.949 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/3.505, allocations: 7.984 kB / 1.949 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/3.507, allocations: 0.7108 MB / 1.95 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/3.51, allocations: 0.7596 MB / 1.951 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004887/3.515, allocations: 3.163 MB / 1.954 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007266/3.516, allocations: 1.253 MB / 1.955 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002092/3.518, allocations: 374.4 kB / 1.955 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/3.519, allocations: 127.4 kB / 1.955 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.513e-06/3.519, allocations: 0 / 1.955 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.05238/3.571, allocations: 33.06 MB / 1.988 GB, free: 99.08 MB / 0.8855 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