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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 100.9 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003291, allocations: 15.98 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7006, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.2151/0.9157, allocations: 199 MB / 1.148 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02201/0.9377, allocations: 15.29 MB / 1.163 GB, free: 9.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003709/0.9415, allocations: 71.5 kB / 1.163 GB, free: 9.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004234/0.9457, allocations: 1.188 MB / 1.164 GB, free: 8.184 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.9562, allocations: 3.449 MB / 1.167 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005857/0.962, allocations: 2.132 MB / 1.169 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005572/0.9676, allocations: 3.042 MB / 1.172 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.9699, allocations: 1.489 MB / 1.174 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.9741, allocations: 2.06 MB / 1.176 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.9759, allocations: 1.101 MB / 1.177 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.9762, allocations: 84 kB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004098/0.9803, allocations: 1.79 MB / 1.179 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007399/0.9811, allocations: 0.584 MB / 1.179 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006819/0.9818, allocations: 488.5 kB / 1.18 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.9856, allocations: 3.024 MB / 1.183 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.9857, allocations: 0 / 1.183 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9857, allocations: 0 / 1.183 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.96e-05/0.9857, allocations: 0 / 1.183 GB, free: 4.906 MB / 0.9356 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.004705/0.9904, allocations: 2.496 MB / 1.185 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.9905, allocations: 15.97 kB / 1.185 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005626/0.9961, allocations: 0.9218 MB / 1.186 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004414/1.001, allocations: 1.746 MB / 1.188 GB, free: 15.61 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004167/1.001, allocations: 186.7 kB / 1.188 GB, free: 15.43 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/1.001, allocations: 155.9 kB / 1.188 GB, free: 15.27 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/1.005, allocations: 1.769 MB / 1.19 GB, free: 13.44 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/1.005, allocations: 7.938 kB / 1.19 GB, free: 13.43 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/1.005, allocations: 60 kB / 1.19 GB, free: 13.37 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.865e-05/1.005, allocations: 58.67 kB / 1.19 GB, free: 13.31 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003899/1.009, allocations: 1.619 MB / 1.192 GB, free: 11.69 MB / 0.9513 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.01153/1.021, allocations: 8.167 MB / 1.2 GB, free: 2.906 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/1.024, allocations: 2.12 MB / 1.202 GB, free: 0.5859 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/1.025, allocations: 0.6401 MB / 1.202 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/1.027, allocations: 0.6219 MB / 1.203 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009528/1.028, allocations: 131.2 kB / 1.203 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=89): time 3.316e-06/1.028, allocations: 0 / 1.203 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=89): time 0.004753/1.033, allocations: 1.817 MB / 1.205 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/1.033, allocations: 68.41 kB / 1.205 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/1.035, allocations: 1.646 MB / 1.206 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.035, allocations: 45.7 kB / 1.206 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007785/1.036, allocations: 0.9519 MB / 1.207 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/1.036, allocations: 315.4 kB / 1.208 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/1.036, allocations: 24 kB / 1.208 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.036, allocations: 349.9 kB / 1.208 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.038, allocations: 0.4906 MB / 1.209 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/1.039, allocations: 0.8265 MB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/1.04, allocations: 0.6019 MB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.04, allocations: 4 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003368/1.044, allocations: 1.547 MB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.001082/1.045, allocations: 3.408 MB / 1.215 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.045, allocations: 8 kB / 1.215 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/1.045, allocations: 16 kB / 1.215 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.046, allocations: 299.6 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/1.046, allocations: 19.94 kB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.048, allocations: 204.3 kB / 1.215 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.048, allocations: 51.98 kB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.048, allocations: 7.953 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002966/1.051, allocations: 1.356 MB / 1.217 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.051, allocations: 8 kB / 1.217 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/1.051, allocations: 16 kB / 1.217 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.053, allocations: 308.2 kB / 1.217 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/1.053, allocations: 27.91 kB / 1.217 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.055, allocations: 190.4 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.055, allocations: 51.98 kB / 1.217 GB, free: 15.92 MB / 0.9825 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,uHea.y,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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.001306/1.056, allocations: 0.5554 MB / 1.218 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/1.056, allocations: 189.6 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/1.06, allocations: 1.334 MB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.06, allocations: 8 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.06, allocations: 0 / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002631/1.062, allocations: 1.375 MB / 1.221 GB, free: 12.34 MB / 0.9825 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.006475/1.069, allocations: 3.345 MB / 1.224 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.069, allocations: 4 kB / 1.224 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.07, allocations: 223.9 kB / 1.224 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/1.07, allocations: 44.83 kB / 1.224 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.257e-05/1.07, allocations: 27.98 kB / 1.224 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/1.072, allocations: 1.44 MB / 1.226 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.072, allocations: 7.953 kB / 1.226 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004133/1.076, allocations: 2.067 MB / 1.228 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007971/1.077, allocations: 366.6 kB / 1.228 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/1.077, allocations: 20 kB / 1.228 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.078, allocations: 171.7 kB / 1.228 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.078, allocations: 72.8 kB / 1.228 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/1.078, allocations: 35.98 kB / 1.228 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001569/1.08, allocations: 1.11 MB / 1.229 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/1.08, allocations: 4 kB / 1.229 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002864/1.083, allocations: 1.017 MB / 1.23 GB, free: 2 MB / 0.9825 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,uHea.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001399/1.084, allocations: 0.6277 MB / 1.231 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004292/1.089, allocations: 1.996 MB / 1.233 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.089, allocations: 4.125 kB / 1.233 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/1.09, allocations: 0.6917 MB / 1.234 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/1.094, allocations: 0.8091 MB / 1.234 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/1.102, allocations: 4.649 MB / 1.239 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.103, allocations: 1.566 MB / 1.24 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00216/1.106, allocations: 467.1 kB / 1.241 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/1.106, allocations: 147.4 kB / 1.241 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of SimCode: time 1.153e-06/1.106, allocations: 4 kB / 1.241 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of Templates: time 0.5095/1.615, allocations: 31.48 MB / 1.272 GB, free: 270 MB / 0.9981 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