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.241/2.241, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001815/0.001815, allocations: 180.8 kB / 487.4 MB, free: 5.07 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.055/2.055, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 98.08 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.593e-05/5.604e-05, allocations: 7.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3785, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.448/6.826, allocations: 1.962 GB / 3.168 GB, free: 328.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/6.827, allocations: 108.6 kB / 3.168 GB, free: 328.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.38/15.21, allocations: 2.169 GB / 5.338 GB, free: 182.9 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.964e-06/15.21, allocations: 0 / 5.338 GB, free: 182.9 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0002804/15.21, allocations: 62.88 kB / 5.338 GB, free: 182.9 MB / 1.198 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.007542/15.21, allocations: 2.49 MB / 5.34 GB, free: 182.3 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/15.21, allocations: 12.91 kB / 5.34 GB, free: 182.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006216/15.22, allocations: 0.8776 MB / 5.341 GB, free: 182.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006798/15.23, allocations: 2.339 MB / 5.343 GB, free: 181.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/15.23, allocations: 44.88 kB / 5.343 GB, free: 181.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/15.23, allocations: 87.75 kB / 5.343 GB, free: 181.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002135/15.23, allocations: 1.144 MB / 5.344 GB, free: 181.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/15.23, allocations: 1.38 MB / 5.346 GB, free: 181.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/15.23, allocations: 3 kB / 5.346 GB, free: 181.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/15.23, allocations: 6.5 kB / 5.346 GB, free: 181.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/15.23, allocations: 48.44 kB / 5.346 GB, free: 181.5 MB / 1.198 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.01222/15.25, allocations: 7.654 MB / 5.353 GB, free: 177.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/15.25, allocations: 1.716 MB / 5.355 GB, free: 176.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/15.25, allocations: 443.7 kB / 5.355 GB, free: 176.4 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/15.25, allocations: 0.7562 MB / 5.356 GB, free: 175.7 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007185/15.25, allocations: 467.2 kB / 5.357 GB, free: 175.6 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001185/15.25, allocations: 110.1 kB / 5.357 GB, free: 175.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=90): time 3.957e-06/15.25, allocations: 0 / 5.357 GB, free: 175.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=90): time 0.006031/15.26, allocations: 1.562 MB / 5.358 GB, free: 175.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/15.26, allocations: 119 kB / 5.358 GB, free: 175.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/15.26, allocations: 1.26 MB / 5.36 GB, free: 175.1 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001969/15.26, allocations: 25.7 kB / 5.36 GB, free: 175.1 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001435/15.26, allocations: 0.9575 MB / 5.361 GB, free: 174.8 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/15.26, allocations: 304.3 kB / 5.361 GB, free: 174.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/15.26, allocations: 0 / 5.361 GB, free: 174.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001243/15.26, allocations: 352.5 kB / 5.361 GB, free: 174.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/15.26, allocations: 337.9 kB / 5.361 GB, free: 174.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009692/15.26, allocations: 0.6878 MB / 5.362 GB, free: 174 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004667/15.27, allocations: 1.038 MB / 5.363 GB, free: 174 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/15.27, allocations: 7.781 kB / 5.363 GB, free: 174 MB / 1.198 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.006456/15.28, allocations: 1.762 MB / 5.365 GB, free: 173.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001058/15.28, allocations: 3.408 MB / 5.368 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/15.28, allocations: 7.688 kB / 5.368 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.625e-05/15.28, allocations: 15.28 kB / 5.368 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/15.28, allocations: 276 kB / 5.369 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.053e-05/15.28, allocations: 20.44 kB / 5.369 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/15.28, allocations: 154 kB / 5.369 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/15.28, allocations: 56.31 kB / 5.369 GB, free: 170.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/15.28, allocations: 5.891 kB / 5.369 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005154/15.29, allocations: 1.529 MB / 5.37 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/15.29, allocations: 9.625 kB / 5.37 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/15.29, allocations: 13.88 kB / 5.37 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/15.29, allocations: 276.5 kB / 5.371 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/15.29, allocations: 22.41 kB / 5.371 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/15.29, allocations: 150.8 kB / 5.371 GB, free: 170.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/15.29, allocations: 58.89 kB / 5.371 GB, free: 170.2 MB / 1.198 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 () * 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.0003484/15.29, allocations: 138.2 kB / 5.371 GB, free: 170.1 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/15.29, allocations: 181.7 kB / 5.371 GB, free: 170 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00584/15.3, allocations: 1.584 MB / 5.373 GB, free: 169.9 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/15.3, allocations: 7.156 kB / 5.373 GB, free: 169.9 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/15.3, allocations: 3.953 kB / 5.373 GB, free: 169.9 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004847/15.3, allocations: 1.658 MB / 5.374 GB, free: 169.5 MB / 1.198 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.01102/15.31, allocations: 3.342 MB / 5.377 GB, free: 168.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/15.31, allocations: 0 / 5.377 GB, free: 168.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/15.31, allocations: 194.7 kB / 5.378 GB, free: 168.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/15.31, allocations: 45.77 kB / 5.378 GB, free: 168.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/15.31, allocations: 17.88 kB / 5.378 GB, free: 168.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/15.31, allocations: 1.387 MB / 5.379 GB, free: 167.7 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/15.31, allocations: 3.531 kB / 5.379 GB, free: 167.7 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00667/15.32, allocations: 2.186 MB / 5.381 GB, free: 167.2 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/15.32, allocations: 355.1 kB / 5.382 GB, free: 167 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006464/15.32, allocations: 6.312 kB / 5.382 GB, free: 167 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/15.33, allocations: 133 kB / 5.382 GB, free: 167 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/15.33, allocations: 66.59 kB / 5.382 GB, free: 167 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/15.33, allocations: 41.3 kB / 5.382 GB, free: 167 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.0024/15.33, allocations: 0.9343 MB / 5.383 GB, free: 166.9 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.4e-07/15.33, allocations: 6.609 kB / 5.383 GB, free: 166.9 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00667/15.34, allocations: 1.206 MB / 5.384 GB, free: 166.8 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) * 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.007452/15.34, allocations: 4.032 MB / 5.388 GB, free: 165.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003457/15.35, allocations: 1.551 MB / 5.389 GB, free: 165.2 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/15.35, allocations: 3.219 kB / 5.389 GB, free: 165.2 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/15.35, allocations: 0.5193 MB / 5.39 GB, free: 165.1 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004816/15.35, allocations: 0.7644 MB / 5.391 GB, free: 165.1 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008321/15.36, allocations: 2.927 MB / 5.393 GB, free: 164.3 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/15.36, allocations: 1.569 MB / 5.395 GB, free: 163.5 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.00428/15.37, allocations: 0.6736 MB / 5.396 GB, free: 163.5 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/15.37, allocations: 108.9 kB / 5.396 GB, free: 163.5 MB / 1.198 GB Notification: Performance of SimCode: time 1.492e-06/15.37, allocations: 0 / 5.396 GB, free: 163.5 MB / 1.198 GB Notification: Performance of Templates: time 0.07914/15.45, allocations: 48.5 MB / 5.443 GB, free: 161.5 MB / 1.198 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