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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001147/0.001147, allocations: 172.9 kB / 492.3 MB, free: 0.6055 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.586/1.586, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009554/0.0009552, allocations: 90.59 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.984e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2872, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.539, allocations: 425.9 MB / 1.628 GB, free: 4.676 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.539, allocations: 93.81 kB / 1.628 GB, free: 4.629 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.739/4.278, allocations: 0.5692 GB / 2.198 GB, free: 257.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.438e-06/4.278, allocations: 0 / 2.198 GB, free: 257.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003431/4.279, allocations: 45.39 kB / 2.198 GB, free: 257.8 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.009064/4.288, allocations: 1.618 MB / 2.199 GB, free: 257.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001027/4.288, allocations: 8.531 kB / 2.199 GB, free: 257.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006061/4.294, allocations: 0.5994 MB / 2.2 GB, free: 257.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007064/4.301, allocations: 1.609 MB / 2.201 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/4.301, allocations: 118.8 kB / 2.201 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/4.302, allocations: 97.47 kB / 2.202 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/4.305, allocations: 1.197 MB / 2.203 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/4.305, allocations: 7.375 kB / 2.203 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/4.305, allocations: 42.38 kB / 2.203 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/4.306, allocations: 36.22 kB / 2.203 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/4.308, allocations: 1.128 MB / 2.204 GB, free: 256.8 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.01164/4.32, allocations: 5.422 MB / 2.209 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/4.322, allocations: 0.9325 MB / 2.21 GB, free: 254.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000791/4.323, allocations: 487.1 kB / 2.211 GB, free: 254.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/4.323, allocations: 1.073 MB / 2.212 GB, free: 253.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/4.324, allocations: 0.5554 MB / 2.212 GB, free: 253.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 3.606e-06/4.324, allocations: 2.938 kB / 2.212 GB, free: 253.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.00249/4.327, allocations: 0.984 MB / 2.213 GB, free: 253.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/4.327, allocations: 65.47 kB / 2.213 GB, free: 253.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/4.33, allocations: 1.227 MB / 2.214 GB, free: 253.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/4.33, allocations: 45.52 kB / 2.214 GB, free: 253.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008173/4.331, allocations: 0.6586 MB / 2.215 GB, free: 253 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/4.331, allocations: 205.4 kB / 2.215 GB, free: 252.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/4.331, allocations: 16.41 kB / 2.215 GB, free: 252.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/4.332, allocations: 329.8 kB / 2.216 GB, free: 252.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/4.332, allocations: 416.5 kB / 2.216 GB, free: 252.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/4.333, allocations: 0.6376 MB / 2.217 GB, free: 252.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/4.334, allocations: 424.1 kB / 2.217 GB, free: 252.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/4.334, allocations: 5.609 kB / 2.217 GB, free: 252.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002668/4.337, allocations: 1.141 MB / 2.218 GB, free: 252.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/4.337, allocations: 9.375 kB / 2.218 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/4.337, allocations: 6.219 kB / 2.218 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.808e-05/4.337, allocations: 8.578 kB / 2.218 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/4.338, allocations: 269 kB / 2.218 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.344e-05/4.338, allocations: 13.45 kB / 2.218 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/4.34, allocations: 217.5 kB / 2.219 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/4.341, allocations: 61.42 kB / 2.219 GB, free: 252.2 MB / 1.151 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 () * 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.0002834/4.341, allocations: 151.4 kB / 2.219 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005636/4.342, allocations: 148.3 kB / 2.219 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/4.344, allocations: 1.189 MB / 2.22 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/4.344, allocations: 10.38 kB / 2.22 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/4.344, allocations: 0 / 2.22 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001683/4.346, allocations: 1.015 MB / 2.221 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006621/4.353, allocations: 2.797 MB / 2.224 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/4.353, allocations: 2.5 kB / 2.224 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/4.354, allocations: 229.7 kB / 2.224 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.052e-05/4.354, allocations: 5 kB / 2.224 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/4.354, allocations: 33.64 kB / 2.224 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/4.354, allocations: 5.469 kB / 2.224 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/4.354, allocations: 3.312 kB / 2.224 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/4.358, allocations: 2.02 MB / 2.226 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/4.359, allocations: 403.1 kB / 2.227 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005984/4.36, allocations: 13.52 kB / 2.227 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/4.362, allocations: 154.9 kB / 2.227 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/4.362, allocations: 55.22 kB / 2.227 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/4.362, allocations: 51.11 kB / 2.227 GB, free: 250.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002404/4.364, allocations: 0.9795 MB / 2.228 GB, free: 250.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/4.364, allocations: 0 / 2.228 GB, free: 250.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002746/4.367, allocations: 0.4954 MB / 2.228 GB, free: 250.6 MB / 1.151 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 () * 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.001824/4.369, allocations: 0.6634 MB / 2.229 GB, free: 250.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001908/4.371, allocations: 0.9323 MB / 2.23 GB, free: 250.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/4.371, allocations: 1.062 kB / 2.23 GB, free: 250.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009063/4.372, allocations: 0.4986 MB / 2.23 GB, free: 250.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004282/4.376, allocations: 0.7329 MB / 2.231 GB, free: 250.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/4.381, allocations: 2.005 MB / 2.233 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/4.382, allocations: 1.253 MB / 2.234 GB, free: 249.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002016/4.384, allocations: 314.5 kB / 2.234 GB, free: 249.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/4.385, allocations: 129.4 kB / 2.235 GB, free: 249.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/4.385, allocations: 0 / 2.235 GB, free: 249.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05783/4.443, allocations: 31.72 MB / 2.266 GB, free: 248.5 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches