Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|eleHea.Q_flow|eleHea.P",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|eleHea.Q_flow|eleHea.P",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001289/0.00129, allocations: 181 kB / 498.1 MB, free: 5.695 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.661/1.661, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0008984/0.0008983, allocations: 105.8 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004474, allocations: 6.938 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3133, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.105/5.418, allocations: 1.963 GB / 3.186 GB, free: 23.78 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/5.418, allocations: 115.3 kB / 3.186 GB, free: 23.71 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 9.307/14.73, allocations: 2.194 GB / 5.38 GB, free: 41.21 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.833e-06/14.73, allocations: 0 / 5.38 GB, free: 41.21 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004639/14.73, allocations: 63.98 kB / 5.38 GB, free: 41.14 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 355 * Number of variables: 355 Notification: Performance of Generate backend data structure: time 0.01132/14.74, allocations: 3.026 MB / 5.383 GB, free: 38.05 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/14.74, allocations: 8.031 kB / 5.383 GB, free: 38.05 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006644/14.74, allocations: 0.8789 MB / 5.384 GB, free: 37.16 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008736/14.75, allocations: 2.36 MB / 5.386 GB, free: 34.75 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/14.75, allocations: 106.8 kB / 5.386 GB, free: 34.65 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006464/14.75, allocations: 152 kB / 5.386 GB, free: 34.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004729/14.76, allocations: 1.67 MB / 5.388 GB, free: 32.75 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-05/14.76, allocations: 4 kB / 5.388 GB, free: 32.75 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/14.76, allocations: 60 kB / 5.388 GB, free: 32.69 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.814e-05/14.76, allocations: 58.62 kB / 5.388 GB, free: 32.63 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/14.76, allocations: 1.381 MB / 5.39 GB, free: 31.25 MB / 1.182 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.0128/14.77, allocations: 7.906 MB / 5.397 GB, free: 22.73 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/14.78, allocations: 1.896 MB / 5.399 GB, free: 20.62 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/14.78, allocations: 0.7478 MB / 5.4 GB, free: 19.73 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/14.78, allocations: 0.5672 MB / 5.4 GB, free: 19.15 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001254/14.78, allocations: 135.2 kB / 5.401 GB, free: 19.02 MB / 1.182 GB Notification: Performance of pre-optimization done (n=90): time 6.753e-06/14.78, allocations: 0 / 5.401 GB, free: 19.02 MB / 1.182 GB Notification: Performance of matching and sorting (n=90): time 0.004041/14.78, allocations: 1.626 MB / 5.402 GB, free: 17.37 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/14.78, allocations: 111.8 kB / 5.402 GB, free: 17.23 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/14.79, allocations: 1.402 MB / 5.404 GB, free: 15.79 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/14.79, allocations: 53.64 kB / 5.404 GB, free: 15.73 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/14.79, allocations: 0.9637 MB / 5.405 GB, free: 14.76 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/14.79, allocations: 315.4 kB / 5.405 GB, free: 14.45 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/14.79, allocations: 28 kB / 5.405 GB, free: 14.42 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001008/14.79, allocations: 341.9 kB / 5.405 GB, free: 14.08 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009251/14.79, allocations: 430.4 kB / 5.406 GB, free: 13.66 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/14.79, allocations: 0.7797 MB / 5.406 GB, free: 12.72 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/14.79, allocations: 0.5499 MB / 5.407 GB, free: 12.17 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/14.79, allocations: 4 kB / 5.407 GB, free: 12.17 MB / 1.182 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002817/14.8, allocations: 1.419 MB / 5.408 GB, free: 10.73 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008892/14.8, allocations: 3.396 MB / 5.412 GB, free: 7.082 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/14.8, allocations: 8 kB / 5.412 GB, free: 7.074 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/14.8, allocations: 16 kB / 5.412 GB, free: 7.059 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/14.8, allocations: 275.6 kB / 5.412 GB, free: 6.789 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.284e-05/14.8, allocations: 23.92 kB / 5.412 GB, free: 6.766 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/14.8, allocations: 167.7 kB / 5.412 GB, free: 6.602 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/14.8, allocations: 63.92 kB / 5.412 GB, free: 6.539 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/14.8, allocations: 4 kB / 5.412 GB, free: 6.535 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002185/14.8, allocations: 1.223 MB / 5.413 GB, free: 5.305 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/14.8, allocations: 8 kB / 5.413 GB, free: 5.297 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/14.8, allocations: 16.62 kB / 5.413 GB, free: 5.281 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/14.8, allocations: 275.6 kB / 5.414 GB, free: 5.012 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/14.8, allocations: 15.94 kB / 5.414 GB, free: 4.996 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/14.81, allocations: 167.8 kB / 5.414 GB, free: 4.832 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.281e-05/14.81, allocations: 55.98 kB / 5.414 GB, free: 4.777 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,eleHea.on,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 1 * 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.001309/14.81, allocations: 0.5677 MB / 5.414 GB, free: 4.199 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/14.81, allocations: 189.6 kB / 5.415 GB, free: 4.012 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/14.81, allocations: 1.205 MB / 5.416 GB, free: 2.793 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/14.81, allocations: 12 kB / 5.416 GB, free: 2.781 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/14.81, allocations: 3.984 kB / 5.416 GB, free: 2.777 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00185/14.81, allocations: 1.258 MB / 5.417 GB, free: 1.43 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.006634/14.82, allocations: 3.015 MB / 5.42 GB, free: 14.31 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/14.82, allocations: 0 / 5.42 GB, free: 14.31 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/14.82, allocations: 191.9 kB / 5.42 GB, free: 14.12 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002631/14.82, allocations: 44.83 kB / 5.42 GB, free: 14.07 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/14.82, allocations: 31.92 kB / 5.42 GB, free: 14.04 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/14.82, allocations: 1.437 MB / 5.422 GB, free: 12.47 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/14.82, allocations: 3.953 kB / 5.422 GB, free: 12.47 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/14.82, allocations: 1.865 MB / 5.423 GB, free: 10.52 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/14.83, allocations: 350.6 kB / 5.424 GB, free: 10.16 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/14.83, allocations: 23.94 kB / 5.424 GB, free: 10.13 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/14.83, allocations: 147.7 kB / 5.424 GB, free: 9.988 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/14.83, allocations: 72.84 kB / 5.424 GB, free: 9.918 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/14.83, allocations: 35.98 kB / 5.424 GB, free: 9.883 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001844/14.83, allocations: 1.075 MB / 5.425 GB, free: 8.785 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.4e-07/14.83, allocations: 0 / 5.425 GB, free: 8.785 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004828/14.83, allocations: 1.326 MB / 5.426 GB, free: 7.457 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,eleHea.hea.outCon.T) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,eleHea.on) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006521/14.84, allocations: 3.902 MB / 5.43 GB, free: 3.375 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.00385/14.84, allocations: 1.796 MB / 5.432 GB, free: 1.555 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/14.84, allocations: 0 / 5.432 GB, free: 1.555 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/14.85, allocations: 0.6342 MB / 5.433 GB, free: 0.9141 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003952/14.85, allocations: 0.7933 MB / 5.433 GB, free: 124 kB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008927/14.86, allocations: 4.539 MB / 5.438 GB, free: 11.53 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/14.86, allocations: 1.566 MB / 5.439 GB, free: 9.93 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.002673/14.86, allocations: 478.9 kB / 5.44 GB, free: 9.457 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/14.86, allocations: 135.4 kB / 5.44 GB, free: 9.324 MB / 1.214 GB Notification: Performance of SimCode: time 1.323e-06/14.86, allocations: 0 / 5.44 GB, free: 9.324 MB / 1.214 GB Notification: Performance of Templates: time 0.9238/15.79, allocations: 64.23 MB / 5.503 GB, free: 198.1 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches