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.399/1.399, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001079/0.001079, allocations: 186.8 kB / 326.5 MB, free: 2.254 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.827/1.827, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008333/0.0008333, allocations: 88.19 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003549, allocations: 12.91 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2185, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.451/6.67, allocations: 2.249 GB / 3.149 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/6.67, allocations: 110.5 kB / 3.149 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.67/15.34, allocations: 2.105 GB / 5.254 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.875e-06/15.34, allocations: 1.844 kB / 5.254 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005225/15.34, allocations: 59.84 kB / 5.254 GB, free: 109.8 MB / 0.9323 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.01249/15.35, allocations: 3.084 MB / 5.257 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/15.35, allocations: 7.375 kB / 5.257 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006346/15.36, allocations: 0.7787 MB / 5.258 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009513/15.37, allocations: 2.369 MB / 5.26 GB, free: 108 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/15.37, allocations: 116.7 kB / 5.26 GB, free: 108 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000778/15.37, allocations: 157.8 kB / 5.26 GB, free: 108 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00536/15.38, allocations: 1.689 MB / 5.262 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.499e-05/15.38, allocations: 0 / 5.262 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003672/15.38, allocations: 66.52 kB / 5.262 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-05/15.38, allocations: 50.38 kB / 5.262 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/15.38, allocations: 1.347 MB / 5.263 GB, free: 107.7 MB / 0.9323 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.01104/15.39, allocations: 7.811 MB / 5.271 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/15.39, allocations: 1.846 MB / 5.273 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/15.39, allocations: 0.7593 MB / 5.274 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/15.39, allocations: 0.541 MB / 5.274 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001248/15.4, allocations: 132.4 kB / 5.274 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=88): time 4.108e-06/15.4, allocations: 2.875 kB / 5.274 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88): time 0.003416/15.4, allocations: 1.539 MB / 5.276 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/15.4, allocations: 162.4 kB / 5.276 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/15.4, allocations: 1.427 MB / 5.277 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/15.4, allocations: 50.02 kB / 5.277 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008525/15.4, allocations: 0.9675 MB / 5.278 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/15.4, allocations: 311.8 kB / 5.279 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/15.4, allocations: 19.91 kB / 5.279 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/15.4, allocations: 353.9 kB / 5.279 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008046/15.4, allocations: 415.7 kB / 5.279 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009684/15.4, allocations: 0.8083 MB / 5.28 GB, free: 99.83 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009007/15.41, allocations: 0.5392 MB / 5.281 GB, free: 99.79 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/15.41, allocations: 7.797 kB / 5.281 GB, free: 99.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002425/15.41, allocations: 1.395 MB / 5.282 GB, free: 99.61 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007943/15.41, allocations: 3.508 MB / 5.285 GB, free: 95.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/15.41, allocations: 7.375 kB / 5.285 GB, free: 95.97 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.183e-05/15.41, allocations: 20.08 kB / 5.285 GB, free: 95.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/15.41, allocations: 266.1 kB / 5.286 GB, free: 95.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/15.41, allocations: 17.97 kB / 5.286 GB, free: 95.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/15.41, allocations: 156.6 kB / 5.286 GB, free: 95.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/15.41, allocations: 52.91 kB / 5.286 GB, free: 95.96 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/15.41, allocations: 5.469 kB / 5.286 GB, free: 95.96 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002113/15.41, allocations: 1.203 MB / 5.287 GB, free: 95.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/15.41, allocations: 11.89 kB / 5.287 GB, free: 95.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/15.41, allocations: 19.88 kB / 5.287 GB, free: 95.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009677/15.41, allocations: 260.4 kB / 5.287 GB, free: 95.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/15.41, allocations: 20.62 kB / 5.287 GB, free: 95.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/15.42, allocations: 146.7 kB / 5.288 GB, free: 95.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/15.42, allocations: 54.42 kB / 5.288 GB, free: 95.9 MB / 0.9323 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 () * Number of clocked 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.001333/15.42, allocations: 0.5741 MB / 5.288 GB, free: 95.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/15.42, allocations: 190.2 kB / 5.288 GB, free: 95.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/15.42, allocations: 1.148 MB / 5.289 GB, free: 95.51 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/15.42, allocations: 7.656 kB / 5.289 GB, free: 95.51 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/15.42, allocations: 5.25 kB / 5.289 GB, free: 95.51 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001701/15.42, allocations: 1.205 MB / 5.291 GB, free: 95.04 MB / 0.9323 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.00522/15.43, allocations: 2.862 MB / 5.293 GB, free: 94.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/15.43, allocations: 0 / 5.293 GB, free: 94.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008507/15.43, allocations: 186.8 kB / 5.294 GB, free: 94.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/15.43, allocations: 42.69 kB / 5.294 GB, free: 94.49 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/15.43, allocations: 30.55 kB / 5.294 GB, free: 94.49 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/15.43, allocations: 1.431 MB / 5.295 GB, free: 93.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/15.43, allocations: 0 / 5.295 GB, free: 93.23 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/15.43, allocations: 1.789 MB / 5.297 GB, free: 92.82 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009044/15.43, allocations: 354.2 kB / 5.297 GB, free: 92.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/15.43, allocations: 23.83 kB / 5.297 GB, free: 92.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/15.43, allocations: 154.2 kB / 5.297 GB, free: 92.62 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/15.44, allocations: 62.84 kB / 5.297 GB, free: 92.62 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/15.44, allocations: 36.72 kB / 5.297 GB, free: 92.62 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001798/15.44, allocations: 1.093 MB / 5.298 GB, free: 92.48 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/15.44, allocations: 0 / 5.298 GB, free: 92.48 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005862/15.44, allocations: 1.365 MB / 5.3 GB, free: 92.3 MB / 0.9323 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) * Number of clocked states: 0 () * 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.007061/15.45, allocations: 3.951 MB / 5.304 GB, free: 90.77 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003917/15.45, allocations: 1.814 MB / 5.305 GB, free: 90.56 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/15.45, allocations: 0 / 5.305 GB, free: 90.56 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/15.46, allocations: 0.5897 MB / 5.306 GB, free: 90.45 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/15.46, allocations: 0.8083 MB / 5.307 GB, free: 90.42 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/15.47, allocations: 4.564 MB / 5.311 GB, free: 88.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/15.47, allocations: 1.583 MB / 5.313 GB, free: 87.76 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002662/15.47, allocations: 469 kB / 5.313 GB, free: 87.74 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/15.47, allocations: 137.2 kB / 5.313 GB, free: 87.73 MB / 0.9323 GB Notification: Performance of SimCode: time 2.404e-06/15.47, allocations: 2.312 kB / 5.313 GB, free: 87.73 MB / 0.9323 GB Notification: Performance of Templates: time 0.1034/15.58, allocations: 65.36 MB / 5.377 GB, free: 83.54 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