Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.0009189, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006457/0.006457, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004517, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7784/0.7789, allocations: 142.4 MB / 0.955 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0649/0.8438, allocations: 52.12 MB / 1.006 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02066/0.8645, allocations: 11.42 MB / 1.017 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.8682, allocations: 55.62 kB / 1.017 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.8713, allocations: 0.6312 MB / 1.018 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008266/0.8796, allocations: 1.987 MB / 1.02 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.884, allocations: 1.25 MB / 1.021 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007916/0.8919, allocations: 5.06 MB / 1.026 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.8944, allocations: 1.057 MB / 1.027 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.8979, allocations: 1.159 MB / 1.028 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.9005, allocations: 1.042 MB / 1.029 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005259/0.9011, allocations: 52 kB / 1.029 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003768/0.9048, allocations: 0.9314 MB / 1.03 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009259/0.9058, allocations: 358.5 kB / 1.03 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002762/0.9086, allocations: 0.7865 MB / 1.031 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006111/0.9147, allocations: 2.449 MB / 1.033 GB, free: 14.73 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9147, allocations: 0 / 1.033 GB, free: 14.73 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.397e-06/0.9147, allocations: 0 / 1.033 GB, free: 14.73 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001121/0.9149, allocations: 0 / 1.033 GB, free: 14.73 MB / 0.795 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.005624/0.9205, allocations: 1.742 MB / 1.035 GB, free: 12.94 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.9206, allocations: 8.031 kB / 1.035 GB, free: 12.93 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/0.9246, allocations: 0.6194 MB / 1.036 GB, free: 12.31 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/0.9279, allocations: 1.36 MB / 1.037 GB, free: 10.9 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.9281, allocations: 123.7 kB / 1.037 GB, free: 10.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.9283, allocations: 92 kB / 1.037 GB, free: 10.68 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/0.9315, allocations: 1.397 MB / 1.039 GB, free: 9.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.9315, allocations: 0 / 1.039 GB, free: 9.25 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.9316, allocations: 40 kB / 1.039 GB, free: 9.211 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.9317, allocations: 24 kB / 1.039 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004019/0.9357, allocations: 1.499 MB / 1.04 GB, free: 7.684 MB / 0.795 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.00918/0.9449, allocations: 5.401 MB / 1.046 GB, free: 2.035 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/0.9479, allocations: 1.114 MB / 1.047 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.9496, allocations: 0.6484 MB / 1.047 GB, free: 272 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009334/0.9505, allocations: 1.065 MB / 1.048 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/0.9524, allocations: 0.7173 MB / 1.049 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 3.126e-06/0.9525, allocations: 0 / 1.049 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.005491/0.958, allocations: 1.863 MB / 1.051 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.9581, allocations: 63.95 kB / 1.051 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.9603, allocations: 1.394 MB / 1.052 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.9604, allocations: 41.7 kB / 1.052 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006423/0.961, allocations: 0.6502 MB / 1.053 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.9613, allocations: 205 kB / 1.053 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.9614, allocations: 61.69 kB / 1.053 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.9616, allocations: 337.9 kB / 1.053 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.9633, allocations: 0.5875 MB / 1.054 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.9651, allocations: 0.7926 MB / 1.055 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/0.9684, allocations: 1.267 MB / 1.056 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.9684, allocations: 4 kB / 1.056 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00414/0.9725, allocations: 1.503 MB / 1.058 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.9726, allocations: 11.94 kB / 1.058 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.9726, allocations: 4 kB / 1.058 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.186e-05/0.9727, allocations: 11.94 kB / 1.058 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.974, allocations: 271.7 kB / 1.058 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/0.974, allocations: 15.94 kB / 1.058 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.976, allocations: 234.8 kB / 1.058 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.9761, allocations: 43.97 kB / 1.058 GB, free: 4.676 MB / 0.8106 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,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008855/0.977, allocations: 353.6 kB / 1.058 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.9772, allocations: 146.2 kB / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/0.9813, allocations: 1.485 MB / 1.06 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.9814, allocations: 15.98 kB / 1.06 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.9814, allocations: 0 / 1.06 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003423/0.9848, allocations: 1.333 MB / 1.061 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006482/0.9913, allocations: 3.028 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.9913, allocations: 0 / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.9925, allocations: 231.9 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.9925, allocations: 4 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-05/0.9926, allocations: 23.97 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.9926, allocations: 4 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.9926, allocations: 4 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005777/0.9984, allocations: 2.336 MB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008209/0.9992, allocations: 370.8 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.9994, allocations: 16 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.001, allocations: 163.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.001, allocations: 60.3 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/1.001, allocations: 35.97 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001468/1.002, allocations: 0.983 MB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/1.002, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001474/1.004, allocations: 455.4 kB / 1.069 GB, free: 9.457 MB / 0.8262 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,onOff.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/1.005, allocations: 439.5 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003764/1.009, allocations: 1.348 MB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.009, allocations: 0 / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/1.011, allocations: 0.691 MB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/1.014, allocations: 0.7371 MB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/1.02, allocations: 3.205 MB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009005/1.021, allocations: 1.221 MB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001336/1.022, allocations: 313.5 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/1.022, allocations: 127.4 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of SimCode: time 6.91e-07/1.022, allocations: 0 / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.05489/1.077, allocations: 29.28 MB / 1.105 GB, free: 4.383 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches