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.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.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.0008684/0.0008685, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009506/0.0009507, allocations: 172.7 kB / 15.95 MB, free: 208 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.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.297 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.55/2.55, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8147, allocations: 142.4 MB / 0.9544 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0476/0.8624, allocations: 49.27 MB / 1.003 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.8794, allocations: 10.78 MB / 1.013 GB, free: 3.348 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.8822, allocations: 51.69 kB / 1.013 GB, free: 3.297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.8841, allocations: 0.5356 MB / 1.014 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005173/0.8893, allocations: 1.701 MB / 1.015 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.8922, allocations: 1.013 MB / 1.016 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005329/0.8976, allocations: 4.346 MB / 1.021 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.8992, allocations: 0.9369 MB / 1.021 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.9013, allocations: 1.139 MB / 1.023 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.9028, allocations: 0.976 MB / 1.024 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.903, allocations: 52 kB / 1.024 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.9049, allocations: 0.608 MB / 1.024 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003582/0.9052, allocations: 338.7 kB / 1.024 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.9057, allocations: 336.8 kB / 1.025 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.9078, allocations: 1.859 MB / 1.027 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9078, allocations: 0 / 1.027 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9078, allocations: 0 / 1.027 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.298e-05/0.9079, allocations: 0 / 1.027 GB, free: 5.418 MB / 0.7794 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.003133/0.911, allocations: 1.742 MB / 1.028 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.911, allocations: 12.02 kB / 1.028 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.914, allocations: 0.6185 MB / 1.029 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.9163, allocations: 1.31 MB / 1.03 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.9165, allocations: 123.6 kB / 1.03 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.9167, allocations: 99.86 kB / 1.03 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/0.9197, allocations: 1.381 MB / 1.032 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.9197, allocations: 0 / 1.032 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/0.9198, allocations: 43.98 kB / 1.032 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/0.9199, allocations: 28 kB / 1.032 GB, free: 15.91 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.9232, allocations: 1.495 MB / 1.033 GB, free: 14.42 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.008932/0.9322, allocations: 5.386 MB / 1.039 GB, free: 8.785 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.9349, allocations: 1.124 MB / 1.04 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.9363, allocations: 0.6364 MB / 1.04 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009435/0.9373, allocations: 1.065 MB / 1.041 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/0.9389, allocations: 0.7057 MB / 1.042 GB, free: 4.992 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 2.806e-06/0.9389, allocations: 4 kB / 1.042 GB, free: 4.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.004671/0.9436, allocations: 1.856 MB / 1.044 GB, free: 3.125 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.9437, allocations: 63.92 kB / 1.044 GB, free: 3.047 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.9455, allocations: 1.382 MB / 1.045 GB, free: 1.656 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/0.9456, allocations: 49.69 kB / 1.045 GB, free: 1.602 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005893/0.9462, allocations: 0.6423 MB / 1.046 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.9465, allocations: 209 kB / 1.046 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.9465, allocations: 16 kB / 1.046 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.9467, allocations: 334 kB / 1.046 GB, free: 404 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.9481, allocations: 0.5798 MB / 1.047 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.9496, allocations: 0.8042 MB / 1.048 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.9511, allocations: 0.5887 MB / 1.048 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.9511, allocations: 0 / 1.048 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003461/0.9545, allocations: 1.514 MB / 1.05 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.9546, allocations: 8 kB / 1.05 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.9546, allocations: 4 kB / 1.05 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.9546, allocations: 8 kB / 1.05 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.9558, allocations: 268 kB / 1.05 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.9558, allocations: 11.95 kB / 1.05 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.9572, allocations: 238.9 kB / 1.05 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/0.9573, allocations: 39.97 kB / 1.05 GB, free: 12.25 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.y,$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 (92): * Single equations (assignments): 92 * 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.0006325/0.9579, allocations: 358 kB / 1.051 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.9581, allocations: 142.2 kB / 1.051 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.9615, allocations: 1.481 MB / 1.052 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.9615, allocations: 8 kB / 1.052 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9615, allocations: 4 kB / 1.052 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002855/0.9644, allocations: 1.333 MB / 1.054 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005229/0.9696, allocations: 3.024 MB / 1.057 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.9697, allocations: 4 kB / 1.057 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.9707, allocations: 227.9 kB / 1.057 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.9707, allocations: 8 kB / 1.057 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.167e-05/0.9708, allocations: 27.97 kB / 1.057 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.9708, allocations: 4 kB / 1.057 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.9708, allocations: 4 kB / 1.057 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.9757, allocations: 2.328 MB / 1.059 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007114/0.9764, allocations: 386.9 kB / 1.059 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.9766, allocations: 12 kB / 1.06 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.9777, allocations: 162.7 kB / 1.06 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.9778, allocations: 48.44 kB / 1.06 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/0.9779, allocations: 43.91 kB / 1.06 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001416/0.9793, allocations: 0.9674 MB / 1.061 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9794, allocations: 4 kB / 1.061 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001305/0.9807, allocations: 447.4 kB / 1.061 GB, free: 1.062 MB / 0.8106 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 (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.000833/0.9815, allocations: 426.9 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00322/0.9847, allocations: 1.344 MB / 1.063 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.9848, allocations: 0 / 1.063 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.9863, allocations: 0.6871 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/0.9895, allocations: 0.7247 MB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/0.9948, allocations: 3.113 MB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009523/0.9957, allocations: 1.221 MB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001441/0.9972, allocations: 319.3 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/0.9976, allocations: 123.4 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of SimCode: time 9.71e-07/0.9976, allocations: 0 / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.04862/1.046, allocations: 27.61 MB / 1.096 GB, free: 13.77 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