Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,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.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,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.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 249.5 MB / 257 MB, free: 6.875 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.001113/0.001113, allocations: 180.9 kB / 316.3 MB, free: 3.238 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.752/1.752, 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.001106/0.001106, allocations: 102.3 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.97e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2155, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.532/1.748, allocations: 409.8 MB / 1.285 GB, free: 325.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.748, allocations: 86.72 kB / 1.286 GB, free: 325.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.701/3.45, allocations: 0.6025 GB / 1.888 GB, free: 53.36 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.382e-06/3.45, allocations: 0 / 1.888 GB, free: 53.36 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001361/3.45, allocations: 43.91 kB / 1.888 GB, free: 53.32 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.003265/3.453, allocations: 1.768 MB / 1.89 GB, free: 51.51 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/3.453, allocations: 8.031 kB / 1.89 GB, free: 51.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/3.456, allocations: 0.6315 MB / 1.89 GB, free: 50.87 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/3.459, allocations: 1.65 MB / 1.892 GB, free: 49.21 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/3.46, allocations: 109.4 kB / 1.892 GB, free: 49.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/3.46, allocations: 63.98 kB / 1.892 GB, free: 49.03 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001394/3.461, allocations: 0.9254 MB / 1.893 GB, free: 48.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/3.462, allocations: 0.987 MB / 1.894 GB, free: 47.08 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/3.463, allocations: 4 kB / 1.894 GB, free: 47.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/3.463, allocations: 7.984 kB / 1.894 GB, free: 47.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/3.463, allocations: 24 kB / 1.894 GB, free: 47.04 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.00574/3.468, allocations: 5.237 MB / 1.899 GB, free: 41.53 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009931/3.469, allocations: 0.6775 MB / 1.9 GB, free: 40.85 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/3.47, allocations: 445.2 kB / 1.9 GB, free: 40.42 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007457/3.471, allocations: 1.243 MB / 1.902 GB, free: 38.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/3.471, allocations: 0.517 MB / 1.902 GB, free: 38.36 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 3.176e-06/3.471, allocations: 0 / 1.902 GB, free: 38.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.001856/3.473, allocations: 0.915 MB / 1.903 GB, free: 37.44 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/3.473, allocations: 119.4 kB / 1.903 GB, free: 37.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/3.474, allocations: 1.039 MB / 1.904 GB, free: 36.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/3.475, allocations: 25.7 kB / 1.904 GB, free: 36.22 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/3.475, allocations: 0.6853 MB / 1.905 GB, free: 35.53 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/3.475, allocations: 224.6 kB / 1.905 GB, free: 35.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/3.475, allocations: 4 kB / 1.905 GB, free: 35.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/3.475, allocations: 329.9 kB / 1.905 GB, free: 34.97 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/3.476, allocations: 345.5 kB / 1.906 GB, free: 34.63 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/3.476, allocations: 0.5985 MB / 1.906 GB, free: 33.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/3.477, allocations: 430.5 kB / 1.907 GB, free: 33.51 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/3.477, allocations: 0 / 1.907 GB, free: 33.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001654/3.479, allocations: 1.025 MB / 1.908 GB, free: 32.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002811/3.479, allocations: 1.201 MB / 1.909 GB, free: 31.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/3.479, allocations: 4 kB / 1.909 GB, free: 31.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/3.479, allocations: 7.938 kB / 1.909 GB, free: 31.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/3.481, allocations: 275.7 kB / 1.909 GB, free: 30.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/3.481, allocations: 15.92 kB / 1.909 GB, free: 30.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/3.482, allocations: 199.3 kB / 1.909 GB, free: 30.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/3.482, allocations: 47.97 kB / 1.909 GB, free: 30.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/3.482, allocations: 9.188 kB / 1.909 GB, free: 30.66 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001461/3.484, allocations: 0.8614 MB / 1.91 GB, free: 29.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/3.484, allocations: 0 / 1.91 GB, free: 29.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/3.484, allocations: 8 kB / 1.91 GB, free: 29.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/3.485, allocations: 272 kB / 1.91 GB, free: 29.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/3.485, allocations: 7.984 kB / 1.91 GB, free: 29.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/3.486, allocations: 207.1 kB / 1.911 GB, free: 29.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/3.486, allocations: 47.97 kB / 1.911 GB, free: 29.27 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.0002252/3.487, allocations: 132.8 kB / 1.911 GB, free: 29.13 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/3.487, allocations: 142.2 kB / 1.911 GB, free: 28.99 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/3.489, allocations: 1.084 MB / 1.912 GB, free: 27.89 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/3.489, allocations: 8 kB / 1.912 GB, free: 27.88 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/3.489, allocations: 4 kB / 1.912 GB, free: 27.88 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/3.49, allocations: 0.9402 MB / 1.913 GB, free: 26.91 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004011/3.494, allocations: 2.979 MB / 1.916 GB, free: 23.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/3.494, allocations: 4 kB / 1.916 GB, free: 23.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/3.495, allocations: 244.1 kB / 1.916 GB, free: 23.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.098e-06/3.495, allocations: 8 kB / 1.916 GB, free: 23.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.466e-05/3.495, allocations: 23.97 kB / 1.916 GB, free: 23.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/3.495, allocations: 11.88 kB / 1.916 GB, free: 23.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/3.495, allocations: 8 kB / 1.916 GB, free: 23.51 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/3.498, allocations: 2.045 MB / 1.918 GB, free: 21.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005824/3.498, allocations: 464.5 kB / 1.919 GB, free: 20.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/3.498, allocations: 12 kB / 1.919 GB, free: 20.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/3.5, allocations: 163.7 kB / 1.919 GB, free: 20.59 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/3.5, allocations: 80.36 kB / 1.919 GB, free: 20.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.304e-05/3.5, allocations: 43.97 kB / 1.919 GB, free: 20.47 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001061/3.501, allocations: 0.7895 MB / 1.92 GB, free: 19.68 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/3.501, allocations: 3.938 kB / 1.92 GB, free: 19.68 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002833/3.504, allocations: 0.8379 MB / 1.92 GB, free: 18.84 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.001727/3.506, allocations: 0.8221 MB / 1.921 GB, free: 18.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002168/3.508, allocations: 1.423 MB / 1.923 GB, free: 16.64 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/3.508, allocations: 3.938 kB / 1.923 GB, free: 16.64 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000686/3.509, allocations: 0.4996 MB / 1.923 GB, free: 16.13 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/3.511, allocations: 0.6305 MB / 1.924 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/3.515, allocations: 1.989 MB / 1.926 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007706/3.516, allocations: 1.283 MB / 1.927 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002134/3.518, allocations: 463.2 kB / 1.927 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/3.518, allocations: 99.39 kB / 1.928 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/3.518, allocations: 0 / 1.928 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.648/4.166, allocations: 29.63 MB / 1.956 GB, free: 147 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches