Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.001209, allocations: 182.2 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008619/0.000862, allocations: 86.12 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002895, allocations: 10.09 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1574, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7512/0.9087, allocations: 406 MB / 1.297 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.909, allocations: 90.89 kB / 1.297 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.113/3.022, allocations: 0.5409 GB / 1.838 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.543e-06/3.022, allocations: 0 / 1.838 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001978/3.022, allocations: 38.11 kB / 1.838 GB, free: 146.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005583/3.028, allocations: 1.893 MB / 1.839 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/3.028, allocations: 7.625 kB / 1.839 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003637/3.031, allocations: 0.6037 MB / 1.84 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003939/3.035, allocations: 1.599 MB / 1.842 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/3.035, allocations: 129.5 kB / 1.842 GB, free: 145 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/3.036, allocations: 95.84 kB / 1.842 GB, free: 145 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/3.039, allocations: 1.391 MB / 1.843 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/3.039, allocations: 9.812 kB / 1.843 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/3.039, allocations: 38.81 kB / 1.843 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/3.039, allocations: 21.66 kB / 1.843 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/3.043, allocations: 1.535 MB / 1.845 GB, free: 144.9 MB / 0.8855 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.008236/3.051, allocations: 5.424 MB / 1.85 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/3.054, allocations: 1.214 MB / 1.851 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006402/3.055, allocations: 1.076 MB / 1.852 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/3.056, allocations: 0.7481 MB / 1.853 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.437e-06/3.056, allocations: 0 / 1.853 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.004825/3.061, allocations: 1.981 MB / 1.855 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/3.061, allocations: 55.84 kB / 1.855 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/3.063, allocations: 1.245 MB / 1.856 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/3.063, allocations: 40.55 kB / 1.856 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/3.063, allocations: 0.6576 MB / 1.857 GB, free: 141 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/3.063, allocations: 196.6 kB / 1.857 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/3.064, allocations: 16.53 kB / 1.857 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/3.064, allocations: 333.1 kB / 1.857 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/3.065, allocations: 0.6039 MB / 1.858 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/3.067, allocations: 0.8573 MB / 1.859 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/3.068, allocations: 0.6109 MB / 1.859 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/3.068, allocations: 0 / 1.859 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003501/3.072, allocations: 1.539 MB / 1.861 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/3.072, allocations: 17.11 kB / 1.861 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/3.072, allocations: 3.625 kB / 1.861 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/3.072, allocations: 10.66 kB / 1.861 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/3.073, allocations: 273 kB / 1.861 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/3.073, allocations: 10.84 kB / 1.861 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/3.075, allocations: 222.9 kB / 1.861 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/3.075, allocations: 54.91 kB / 1.862 GB, free: 140.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006891/3.075, allocations: 358.3 kB / 1.862 GB, free: 140 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/3.076, allocations: 147.2 kB / 1.862 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/3.079, allocations: 1.584 MB / 1.864 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/3.079, allocations: 9.297 kB / 1.864 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/3.079, allocations: 3.281 kB / 1.864 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003057/3.082, allocations: 1.404 MB / 1.865 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006039/3.088, allocations: 3.18 MB / 1.868 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/3.088, allocations: 3.312 kB / 1.868 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/3.089, allocations: 222.7 kB / 1.868 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/3.089, allocations: 3.875 kB / 1.868 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/3.09, allocations: 26.62 kB / 1.868 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/3.09, allocations: 11.53 kB / 1.868 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/3.09, allocations: 0 / 1.868 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005307/3.095, allocations: 2.614 MB / 1.871 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/3.096, allocations: 396.7 kB / 1.871 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/3.096, allocations: 22.23 kB / 1.871 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/3.098, allocations: 146.9 kB / 1.871 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/3.098, allocations: 48.11 kB / 1.871 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/3.098, allocations: 50.3 kB / 1.871 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001821/3.1, allocations: 0.9961 MB / 1.872 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.81e-07/3.1, allocations: 3.938 kB / 1.872 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00232/3.102, allocations: 0.4931 MB / 1.873 GB, free: 138.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,absIndSte.on,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001573/3.104, allocations: 0.6767 MB / 1.874 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003345/3.107, allocations: 1.325 MB / 1.875 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/3.107, allocations: 4.062 kB / 1.875 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/3.109, allocations: 0.6915 MB / 1.876 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/3.112, allocations: 0.746 MB / 1.876 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/3.117, allocations: 3.127 MB / 1.879 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/3.118, allocations: 1.247 MB / 1.881 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00158/3.119, allocations: 310.4 kB / 1.881 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/3.12, allocations: 121.3 kB / 1.881 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.423e-06/3.12, allocations: 0 / 1.881 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.04731/3.167, allocations: 31.08 MB / 1.911 GB, free: 126.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches