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.685/2.685, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001113/0.001114, allocations: 172.2 kB / 492.3 MB, free: 0.6211 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.782/1.782, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.001059/0.001059, allocations: 90.02 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.745e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3588, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.506/6.865, allocations: 1.963 GB / 3.175 GB, free: 306.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/6.865, allocations: 111.9 kB / 3.176 GB, free: 306.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.816/15.68, allocations: 2.192 GB / 5.367 GB, free: 170.8 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.074e-06/15.68, allocations: 0 / 5.367 GB, free: 170.8 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004998/15.68, allocations: 58.28 kB / 5.368 GB, free: 170.8 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.009089/15.69, allocations: 2.501 MB / 5.37 GB, free: 170 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/15.69, allocations: 12.19 kB / 5.37 GB, free: 170 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006456/15.7, allocations: 0.8734 MB / 5.371 GB, free: 169.8 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008707/15.71, allocations: 2.344 MB / 5.373 GB, free: 169.4 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/15.71, allocations: 111.4 kB / 5.373 GB, free: 169.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000721/15.71, allocations: 147.1 kB / 5.373 GB, free: 169.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004686/15.71, allocations: 1.578 MB / 5.375 GB, free: 169.2 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/15.71, allocations: 2.062 kB / 5.375 GB, free: 169.2 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/15.71, allocations: 56.59 kB / 5.375 GB, free: 169.2 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/15.71, allocations: 51.72 kB / 5.375 GB, free: 169.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/15.71, allocations: 1.21 MB / 5.376 GB, free: 169.2 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.01178/15.73, allocations: 7.904 MB / 5.384 GB, free: 165.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/15.73, allocations: 1.715 MB / 5.386 GB, free: 164.1 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/15.73, allocations: 464.1 kB / 5.386 GB, free: 164 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/15.73, allocations: 0.7599 MB / 5.387 GB, free: 163.3 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007819/15.73, allocations: 496.3 kB / 5.387 GB, free: 163.2 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001221/15.73, allocations: 132.4 kB / 5.387 GB, free: 163.2 MB / 1.198 GB Notification: Performance of pre-optimization done (n=90): time 4.348e-06/15.73, allocations: 0 / 5.387 GB, free: 163.2 MB / 1.198 GB Notification: Performance of matching and sorting (n=90): time 0.002037/15.73, allocations: 0.9808 MB / 5.388 GB, free: 163.1 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/15.73, allocations: 115.2 kB / 5.388 GB, free: 162.9 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/15.74, allocations: 1.377 MB / 5.39 GB, free: 162.7 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 9.065e-05/15.74, allocations: 46.27 kB / 5.39 GB, free: 162.7 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009017/15.74, allocations: 0.965 MB / 5.391 GB, free: 162.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/15.74, allocations: 318.2 kB / 5.391 GB, free: 162.3 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/15.74, allocations: 18.62 kB / 5.391 GB, free: 162.3 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/15.74, allocations: 350.5 kB / 5.391 GB, free: 162 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/15.74, allocations: 347 kB / 5.392 GB, free: 162 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/15.74, allocations: 0.7016 MB / 5.392 GB, free: 161.6 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/15.74, allocations: 485.1 kB / 5.393 GB, free: 161.5 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/15.74, allocations: 7.75 kB / 5.393 GB, free: 161.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001885/15.74, allocations: 1.25 MB / 5.394 GB, free: 161.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007865/15.74, allocations: 3.416 MB / 5.397 GB, free: 157.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/15.74, allocations: 7.625 kB / 5.397 GB, free: 157.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/15.74, allocations: 17.83 kB / 5.397 GB, free: 157.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/15.74, allocations: 273.6 kB / 5.398 GB, free: 157.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/15.74, allocations: 26.77 kB / 5.398 GB, free: 157.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/15.74, allocations: 169.8 kB / 5.398 GB, free: 157.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/15.75, allocations: 57.94 kB / 5.398 GB, free: 157.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/15.75, allocations: 7.859 kB / 5.398 GB, free: 157.8 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001672/15.75, allocations: 1.064 MB / 5.399 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/15.75, allocations: 7.875 kB / 5.399 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/15.75, allocations: 21.17 kB / 5.399 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/15.75, allocations: 273 kB / 5.399 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/15.75, allocations: 21.3 kB / 5.399 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/15.75, allocations: 173 kB / 5.4 GB, free: 157.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/15.75, allocations: 54.8 kB / 5.4 GB, free: 157.7 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.0003313/15.75, allocations: 179.5 kB / 5.4 GB, free: 157.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/15.75, allocations: 184.1 kB / 5.4 GB, free: 157.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/15.75, allocations: 1.055 MB / 5.401 GB, free: 157.4 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/15.75, allocations: 7 kB / 5.401 GB, free: 157.4 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/15.75, allocations: 2.25 kB / 5.401 GB, free: 157.4 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/15.75, allocations: 1.098 MB / 5.402 GB, free: 157 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.005372/15.76, allocations: 2.954 MB / 5.405 GB, free: 156.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/15.76, allocations: 3.375 kB / 5.405 GB, free: 156.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000903/15.76, allocations: 195.5 kB / 5.405 GB, free: 156.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/15.76, allocations: 42.98 kB / 5.405 GB, free: 156.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/15.76, allocations: 32.31 kB / 5.405 GB, free: 156.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/15.76, allocations: 1.417 MB / 5.407 GB, free: 155.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/15.76, allocations: 3.625 kB / 5.407 GB, free: 155.1 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/15.76, allocations: 1.633 MB / 5.408 GB, free: 154.6 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/15.77, allocations: 353.8 kB / 5.408 GB, free: 154.4 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/15.77, allocations: 18.59 kB / 5.409 GB, free: 154.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/15.77, allocations: 155.2 kB / 5.409 GB, free: 154.4 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/15.77, allocations: 75.92 kB / 5.409 GB, free: 154.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/15.77, allocations: 38.2 kB / 5.409 GB, free: 154.4 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.00165/15.77, allocations: 1.055 MB / 5.41 GB, free: 154.3 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.2e-07/15.77, allocations: 0 / 5.41 GB, free: 154.3 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004856/15.77, allocations: 1.322 MB / 5.411 GB, free: 154.2 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.006205/15.78, allocations: 3.871 MB / 5.415 GB, free: 152.7 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.002841/15.78, allocations: 1.629 MB / 5.416 GB, free: 152.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/15.78, allocations: 0 / 5.416 GB, free: 152.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008823/15.78, allocations: 0.5585 MB / 5.417 GB, free: 152.4 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/15.79, allocations: 0.783 MB / 5.418 GB, free: 152.4 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/15.79, allocations: 2.971 MB / 5.421 GB, free: 151.6 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009516/15.79, allocations: 1.576 MB / 5.422 GB, free: 150.9 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.00308/15.8, allocations: 0.6947 MB / 5.423 GB, free: 150.9 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/15.8, allocations: 110.3 kB / 5.423 GB, free: 150.9 MB / 1.198 GB Notification: Performance of SimCode: time 7.22e-07/15.8, allocations: 0 / 5.423 GB, free: 150.9 MB / 1.198 GB Notification: Performance of Templates: time 0.1027/15.9, allocations: 75.49 MB / 5.497 GB, free: 147.7 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