Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absChi.QCon_flow|QCon_EP.y|absChi.QEva_flow|QEva_EP.y|absChi.QGen_flow|QGen_EP.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus") translateModel(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absChi.QCon_flow|QCon_EP.y|absChi.QEva_flow|QEva_EP.y|absChi.QGen_flow|QGen_EP.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.306/2.306, allocations: 390.5 MB / 398 MB, free: 10.93 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.001795/0.001795, allocations: 176.8 kB / 491.2 MB, free: 1.594 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.666/1.666, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009059/0.000906, allocations: 103.9 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.413e-05/1.415e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3321, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.649, allocations: 429.6 MB / 1.632 GB, free: 1.449 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/1.65, allocations: 87.05 kB / 1.632 GB, free: 1.41 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.959/4.608, allocations: 0.7536 GB / 2.385 GB, free: 246.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.804e-06/4.608, allocations: 0 / 2.385 GB, free: 246.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002169/4.608, allocations: 34.59 kB / 2.385 GB, free: 246.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004669/4.613, allocations: 1.657 MB / 2.387 GB, free: 245.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/4.613, allocations: 7.594 kB / 2.387 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/4.618, allocations: 0.8117 MB / 2.388 GB, free: 245 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/4.622, allocations: 1.515 MB / 2.389 GB, free: 244 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007264/4.623, allocations: 221.2 kB / 2.39 GB, free: 243.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/4.623, allocations: 54.38 kB / 2.39 GB, free: 243.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001947/4.625, allocations: 1.292 MB / 2.391 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/4.626, allocations: 1.153 MB / 2.392 GB, free: 242.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/4.626, allocations: 1.938 kB / 2.392 GB, free: 242.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/4.627, allocations: 4 kB / 2.392 GB, free: 242.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/4.627, allocations: 30 kB / 2.392 GB, free: 242.1 MB / 1.151 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.00851/4.635, allocations: 5.49 MB / 2.397 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/4.637, allocations: 1.136 MB / 2.399 GB, free: 235.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/4.638, allocations: 0.553 MB / 2.399 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/4.638, allocations: 1.078 MB / 2.4 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007862/4.639, allocations: 0.6695 MB / 2.401 GB, free: 232.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 3.397e-06/4.639, allocations: 0 / 2.401 GB, free: 232.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.002533/4.642, allocations: 1.33 MB / 2.402 GB, free: 231.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/4.642, allocations: 89.61 kB / 2.402 GB, free: 231.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/4.643, allocations: 1.076 MB / 2.403 GB, free: 230.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/4.643, allocations: 29.7 kB / 2.403 GB, free: 230.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/4.643, allocations: 0.669 MB / 2.404 GB, free: 229.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/4.644, allocations: 220.7 kB / 2.404 GB, free: 229.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/4.644, allocations: 0 / 2.404 GB, free: 229.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/4.644, allocations: 330 kB / 2.404 GB, free: 229 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/4.644, allocations: 0.4896 MB / 2.405 GB, free: 228.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/4.645, allocations: 0.6847 MB / 2.406 GB, free: 227.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/4.646, allocations: 0.5166 MB / 2.406 GB, free: 227.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/4.646, allocations: 0 / 2.406 GB, free: 227.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002402/4.649, allocations: 1.423 MB / 2.407 GB, free: 225.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/4.649, allocations: 9.094 kB / 2.407 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/4.649, allocations: 7.953 kB / 2.407 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008067/4.649, allocations: 0.6171 MB / 2.408 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/4.65, allocations: 240.2 kB / 2.408 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/4.652, allocations: 1.132 MB / 2.409 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/4.654, allocations: 199.5 kB / 2.41 GB, free: 223.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/4.654, allocations: 63.23 kB / 2.41 GB, free: 223.6 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absChi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.datRea.nextTimeEvent,absChi.on,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002646/4.654, allocations: 132.7 kB / 2.41 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/4.654, allocations: 134.3 kB / 2.41 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/4.658, allocations: 1.744 MB / 2.412 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/4.658, allocations: 8 kB / 2.412 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/4.658, allocations: 0 / 2.412 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/4.658, allocations: 3.984 kB / 2.412 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005463/4.663, allocations: 3.343 MB / 2.415 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/4.663, allocations: 0 / 2.415 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/4.665, allocations: 227.7 kB / 2.415 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007099/4.665, allocations: 0.6112 MB / 2.416 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/4.665, allocations: 27.89 kB / 2.416 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/4.667, allocations: 1.123 MB / 2.417 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/4.667, allocations: 6.953 kB / 2.417 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/4.67, allocations: 1.782 MB / 2.419 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/4.671, allocations: 426.9 kB / 2.419 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/4.671, allocations: 10.41 kB / 2.419 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/4.673, allocations: 181.5 kB / 2.419 GB, free: 213.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/4.673, allocations: 56.44 kB / 2.419 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/4.673, allocations: 59.95 kB / 2.419 GB, free: 213.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001042/4.674, allocations: 0.8193 MB / 2.42 GB, free: 212.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/4.674, allocations: 2.312 kB / 2.42 GB, free: 212.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001449/4.675, allocations: 0.4911 MB / 2.421 GB, free: 212.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absChi.on,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001629/4.677, allocations: 0.9482 MB / 2.422 GB, free: 211.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002052/4.679, allocations: 1.23 MB / 2.423 GB, free: 210.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/4.679, allocations: 7.938 kB / 2.423 GB, free: 210.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/4.68, allocations: 0.7232 MB / 2.423 GB, free: 209.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/4.683, allocations: 0.4909 MB / 2.424 GB, free: 209.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/4.686, allocations: 2.03 MB / 2.426 GB, free: 207.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/4.687, allocations: 1.28 MB / 2.427 GB, free: 206 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001161/4.688, allocations: 297.3 kB / 2.427 GB, free: 205.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/4.688, allocations: 115.4 kB / 2.428 GB, free: 205.6 MB / 1.151 GB Notification: Performance of SimCode: time 7.62e-07/4.688, allocations: 0 / 2.428 GB, free: 205.6 MB / 1.151 GB Notification: Performance of Templates: time 0.03755/4.726, allocations: 25.76 MB / 2.453 GB, free: 180.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches