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.47/1.47, allocations: 249.3 MB / 261.9 MB, free: 5.82 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.001144/0.001145, allocations: 186.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0009817/0.0009818, allocations: 90.7 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.015e-05/5.019e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2363, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.401/6.638, allocations: 2.249 GB / 3.14 GB, free: 94.86 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/6.638, allocations: 106.8 kB / 3.141 GB, free: 94.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.936/14.57, allocations: 2.103 GB / 5.243 GB, free: 31 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.905e-06/14.57, allocations: 0 / 5.243 GB, free: 31 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005262/14.57, allocations: 67.81 kB / 5.243 GB, free: 30.94 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.009756/14.58, allocations: 2.545 MB / 5.246 GB, free: 28.34 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/14.58, allocations: 12.03 kB / 5.246 GB, free: 28.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/14.59, allocations: 0.7813 MB / 5.247 GB, free: 27.54 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/14.6, allocations: 2.335 MB / 5.249 GB, free: 25.16 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/14.6, allocations: 114.8 kB / 5.249 GB, free: 25.04 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009926/14.6, allocations: 159.8 kB / 5.249 GB, free: 24.89 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005363/14.61, allocations: 1.597 MB / 5.251 GB, free: 23.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.867e-05/14.61, allocations: 4 kB / 5.251 GB, free: 23.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/14.61, allocations: 60 kB / 5.251 GB, free: 23.14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/14.61, allocations: 50.72 kB / 5.251 GB, free: 23.09 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/14.61, allocations: 1.198 MB / 5.252 GB, free: 21.89 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.01356/14.63, allocations: 7.808 MB / 5.26 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/14.63, allocations: 1.71 MB / 5.261 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/14.63, allocations: 431 kB / 5.262 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/14.63, allocations: 0.7524 MB / 5.262 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007592/14.63, allocations: 490 kB / 5.263 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001346/14.63, allocations: 131.2 kB / 5.263 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=88): time 6.773e-06/14.63, allocations: 4 kB / 5.263 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of matching and sorting (n=88): time 0.001889/14.63, allocations: 0.9519 MB / 5.264 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/14.63, allocations: 171 kB / 5.264 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/14.63, allocations: 1.404 MB / 5.266 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-05/14.63, allocations: 49.7 kB / 5.266 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007869/14.64, allocations: 0.9715 MB / 5.267 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/14.64, allocations: 311.5 kB / 5.267 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/14.64, allocations: 20 kB / 5.267 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/14.64, allocations: 353.9 kB / 5.267 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/14.64, allocations: 354.5 kB / 5.268 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006939/14.64, allocations: 0.7482 MB / 5.268 GB, free: 3.996 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/14.64, allocations: 485.3 kB / 5.269 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/14.64, allocations: 7.938 kB / 5.269 GB, free: 3.512 MB / 0.9167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001674/14.64, allocations: 1.27 MB / 5.27 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001042/14.64, allocations: 3.502 MB / 5.273 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/14.64, allocations: 19.73 kB / 5.273 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/14.64, allocations: 19.95 kB / 5.273 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/14.64, allocations: 259.6 kB / 5.274 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.791e-05/14.64, allocations: 23.92 kB / 5.274 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/14.64, allocations: 147.8 kB / 5.274 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/14.64, allocations: 51.98 kB / 5.274 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/14.64, allocations: 9.406 kB / 5.274 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00176/14.65, allocations: 1.079 MB / 5.275 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/14.65, allocations: 11.98 kB / 5.275 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/14.65, allocations: 16 kB / 5.275 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/14.65, allocations: 264.4 kB / 5.275 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/14.65, allocations: 19.92 kB / 5.275 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/14.65, allocations: 155.7 kB / 5.275 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/14.65, allocations: 51.98 kB / 5.275 GB, free: 12.36 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 () * 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.0002904/14.65, allocations: 184.6 kB / 5.276 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/14.65, allocations: 185.7 kB / 5.276 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/14.65, allocations: 1.025 MB / 5.277 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/14.65, allocations: 8 kB / 5.277 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/14.65, allocations: 4 kB / 5.277 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001534/14.65, allocations: 1.075 MB / 5.278 GB, free: 9.773 MB / 0.9323 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.006169/14.66, allocations: 2.817 MB / 5.281 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/14.66, allocations: 4 kB / 5.281 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009413/14.66, allocations: 191.9 kB / 5.281 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/14.66, allocations: 44.77 kB / 5.281 GB, free: 6.594 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.704e-05/14.66, allocations: 27.94 kB / 5.281 GB, free: 6.566 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/14.66, allocations: 1.413 MB / 5.282 GB, free: 5.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/14.66, allocations: 0 / 5.282 GB, free: 5.02 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/14.66, allocations: 1.61 MB / 5.284 GB, free: 3.34 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/14.67, allocations: 346.6 kB / 5.284 GB, free: 2.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/14.67, allocations: 27.98 kB / 5.284 GB, free: 2.953 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/14.67, allocations: 155.7 kB / 5.284 GB, free: 2.801 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/14.67, allocations: 60.69 kB / 5.284 GB, free: 2.742 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/14.67, allocations: 35.97 kB / 5.284 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0018/14.67, allocations: 1.073 MB / 5.285 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.442e-06/14.67, allocations: 7.844 kB / 5.285 GB, free: 1.602 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004882/14.67, allocations: 1.376 MB / 5.287 GB, free: 228 kB / 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) * 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.7/15.37, allocations: 3.887 MB / 5.291 GB, free: 114 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003859/15.38, allocations: 1.69 MB / 5.292 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/15.38, allocations: 1.125 kB / 5.292 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/15.38, allocations: 0.54 MB / 5.293 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/15.38, allocations: 0.8011 MB / 5.294 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/15.4, allocations: 2.983 MB / 5.297 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/15.4, allocations: 1.582 MB / 5.298 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004214/15.4, allocations: 0.6725 MB / 5.299 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/15.4, allocations: 117.4 kB / 5.299 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.473e-06/15.4, allocations: 0 / 5.299 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.1278/15.53, allocations: 76.68 MB / 5.374 GB, free: 109.9 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