Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") 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.5 MB / 257 MB, free: 6.945 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.00117/0.00117, allocations: 187.7 kB / 316.3 MB, free: 3.23 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.675/1.675, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0009315/0.0009315, allocations: 85.23 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.072e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.242, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.28/6.522, allocations: 2.249 GB / 3.134 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/6.523, allocations: 106.9 kB / 3.134 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.587/14.11, allocations: 2.08 GB / 5.214 GB, free: 74.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.052e-06/14.11, allocations: 3.938 kB / 5.214 GB, free: 74.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002485/14.11, allocations: 58.97 kB / 5.214 GB, free: 74.44 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 358 * Number of variables: 358 Notification: Performance of Generate backend data structure: time 0.006956/14.12, allocations: 2.546 MB / 5.217 GB, free: 71.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/14.12, allocations: 8.031 kB / 5.217 GB, free: 71.86 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/14.12, allocations: 0.7813 MB / 5.217 GB, free: 71.07 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005935/14.13, allocations: 2.344 MB / 5.22 GB, free: 68.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/14.13, allocations: 44 kB / 5.22 GB, free: 68.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/14.13, allocations: 92 kB / 5.22 GB, free: 68.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002119/14.13, allocations: 1.138 MB / 5.221 GB, free: 67.45 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/14.13, allocations: 1.408 MB / 5.222 GB, free: 65.96 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/14.13, allocations: 0 / 5.222 GB, free: 65.96 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/14.13, allocations: 7.469 kB / 5.222 GB, free: 65.95 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/14.13, allocations: 46.72 kB / 5.222 GB, free: 65.91 MB / 0.9167 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.009203/14.14, allocations: 7.55 MB / 5.23 GB, free: 57.84 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/14.14, allocations: 1.702 MB / 5.231 GB, free: 55.94 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/14.14, allocations: 411.1 kB / 5.232 GB, free: 55.54 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/14.14, allocations: 0.7585 MB / 5.232 GB, free: 54.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006139/14.15, allocations: 456.5 kB / 5.233 GB, free: 54.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009444/14.15, allocations: 111.2 kB / 5.233 GB, free: 54.07 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=88): time 3.697e-06/14.15, allocations: 0 / 5.233 GB, free: 54.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=88): time 0.005076/14.15, allocations: 1.541 MB / 5.234 GB, free: 52.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/14.15, allocations: 167 kB / 5.235 GB, free: 52.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/14.15, allocations: 1.287 MB / 5.236 GB, free: 50.99 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-05/14.15, allocations: 33.69 kB / 5.236 GB, free: 50.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007785/14.15, allocations: 0.9673 MB / 5.237 GB, free: 49.97 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/14.15, allocations: 303.5 kB / 5.237 GB, free: 49.67 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/14.15, allocations: 0 / 5.237 GB, free: 49.67 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/14.15, allocations: 349.9 kB / 5.238 GB, free: 49.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/14.15, allocations: 342.5 kB / 5.238 GB, free: 48.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/14.16, allocations: 0.7216 MB / 5.239 GB, free: 48.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/14.16, allocations: 1.055 MB / 5.24 GB, free: 47.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/14.16, allocations: 4 kB / 5.24 GB, free: 47.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005338/14.16, allocations: 1.787 MB / 5.241 GB, free: 45.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001006/14.17, allocations: 3.492 MB / 5.245 GB, free: 41.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/14.17, allocations: 12 kB / 5.245 GB, free: 41.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.515e-05/14.17, allocations: 16 kB / 5.245 GB, free: 41.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/14.17, allocations: 263.6 kB / 5.245 GB, free: 41.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/14.17, allocations: 15.94 kB / 5.245 GB, free: 41.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/14.17, allocations: 135.7 kB / 5.245 GB, free: 41.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/14.17, allocations: 51.98 kB / 5.245 GB, free: 41.01 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/14.17, allocations: 5.719 kB / 5.245 GB, free: 41 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004766/14.17, allocations: 1.553 MB / 5.247 GB, free: 39.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/14.17, allocations: 15.95 kB / 5.247 GB, free: 39.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/14.17, allocations: 16 kB / 5.247 GB, free: 39.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/14.17, allocations: 259.6 kB / 5.247 GB, free: 39.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/14.17, allocations: 19.94 kB / 5.247 GB, free: 39.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/14.18, allocations: 127.8 kB / 5.247 GB, free: 39.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/14.18, allocations: 55.97 kB / 5.247 GB, free: 38.97 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003312/14.18, allocations: 140.7 kB / 5.247 GB, free: 38.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005802/14.18, allocations: 189.7 kB / 5.248 GB, free: 38.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005452/14.18, allocations: 1.565 MB / 5.249 GB, free: 37.07 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/14.18, allocations: 8 kB / 5.249 GB, free: 37.06 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/14.18, allocations: 0 / 5.249 GB, free: 37.06 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00436/14.19, allocations: 1.634 MB / 5.251 GB, free: 35.34 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.009468/14.2, allocations: 3.218 MB / 5.254 GB, free: 32.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/14.2, allocations: 4.125 kB / 5.254 GB, free: 32.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009054/14.2, allocations: 179.8 kB / 5.254 GB, free: 31.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/14.2, allocations: 48.83 kB / 5.254 GB, free: 31.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/14.2, allocations: 7.984 kB / 5.254 GB, free: 31.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/14.2, allocations: 1.381 MB / 5.255 GB, free: 30.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/14.2, allocations: 3.75 kB / 5.255 GB, free: 30.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00568/14.21, allocations: 2.174 MB / 5.257 GB, free: 28.06 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/14.21, allocations: 346.6 kB / 5.258 GB, free: 27.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/14.21, allocations: 11.98 kB / 5.258 GB, free: 27.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/14.21, allocations: 135.7 kB / 5.258 GB, free: 27.56 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/14.21, allocations: 60.69 kB / 5.258 GB, free: 27.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/14.21, allocations: 39.97 kB / 5.258 GB, free: 27.46 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002205/14.21, allocations: 0.9502 MB / 5.259 GB, free: 26.49 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.91e-07/14.21, allocations: 0 / 5.259 GB, free: 26.49 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006068/14.22, allocations: 1.247 MB / 5.26 GB, free: 25.24 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * 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.007105/14.22, allocations: 4.073 MB / 5.264 GB, free: 21.39 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003036/14.23, allocations: 1.618 MB / 5.266 GB, free: 19.74 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/14.23, allocations: 0 / 5.266 GB, free: 19.74 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009465/14.23, allocations: 0.5048 MB / 5.266 GB, free: 19.22 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004688/14.23, allocations: 0.7766 MB / 5.267 GB, free: 18.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008322/14.24, allocations: 2.934 MB / 5.27 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/14.24, allocations: 1.581 MB / 5.271 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003724/14.25, allocations: 0.6637 MB / 5.272 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/14.25, allocations: 111.4 kB / 5.272 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of SimCode: time 1.102e-06/14.25, allocations: 0 / 5.272 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of Templates: time 0.7775/15.03, allocations: 49.63 MB / 5.321 GB, free: 113.1 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches