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.001294/0.001294, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001178/0.001178, allocations: 177.3 kB / 15.94 MB, free: 228 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.402/1.402, allocations: 223.2 MB / 239.9 MB, free: 5.242 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.555/2.555, allocations: 390.2 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 8 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8566/0.8569, allocations: 142.3 MB / 0.9535 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04461/0.9016, allocations: 44.76 MB / 0.9972 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01767/0.9193, allocations: 9.916 MB / 1.007 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/0.9221, allocations: 51.62 kB / 1.007 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002645/0.9248, allocations: 0.7035 MB / 1.008 GB, free: 8.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008709/0.9335, allocations: 2.039 MB / 1.01 GB, free: 6.684 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004486/0.938, allocations: 1.571 MB / 1.011 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004707/0.9427, allocations: 2.33 MB / 1.013 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.9443, allocations: 0.9762 MB / 1.014 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.9463, allocations: 1.02 MB / 1.015 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.9472, allocations: 0.7077 MB / 1.016 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.9474, allocations: 52 kB / 1.016 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.9494, allocations: 0.6631 MB / 1.017 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.9498, allocations: 302.8 kB / 1.017 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.9502, allocations: 332.9 kB / 1.017 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.9527, allocations: 1.788 MB / 1.019 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.9527, allocations: 4 kB / 1.019 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9527, allocations: 0 / 1.019 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.095e-05/0.9527, allocations: 0 / 1.019 GB, free: 12.94 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.004955/0.9577, allocations: 1.734 MB / 1.021 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.699e-05/0.9578, allocations: 12.03 kB / 1.021 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005222/0.963, allocations: 0.6146 MB / 1.021 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00474/0.9678, allocations: 1.437 MB / 1.023 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.968, allocations: 123.7 kB / 1.023 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.9683, allocations: 95.95 kB / 1.023 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/0.9723, allocations: 1.252 MB / 1.024 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.9723, allocations: 11.84 kB / 1.024 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.9725, allocations: 43.98 kB / 1.024 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.9726, allocations: 24 kB / 1.024 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004805/0.9774, allocations: 1.249 MB / 1.026 GB, free: 6.195 MB / 0.7794 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.0113/0.9887, allocations: 4.919 MB / 1.03 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.9925, allocations: 0.8918 MB / 1.031 GB, free: 132 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.9937, allocations: 1.065 MB / 1.032 GB, free: 14.82 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002247/0.996, allocations: 0.5886 MB / 1.033 GB, free: 14.23 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 4.398e-06/0.996, allocations: 0 / 1.033 GB, free: 14.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.006655/1.003, allocations: 1.504 MB / 1.034 GB, free: 12.71 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/1.003, allocations: 67.86 kB / 1.034 GB, free: 12.64 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003154/1.006, allocations: 1.339 MB / 1.036 GB, free: 11.29 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/1.006, allocations: 45.7 kB / 1.036 GB, free: 11.24 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008524/1.007, allocations: 0.6463 MB / 1.036 GB, free: 10.58 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/1.007, allocations: 201 kB / 1.037 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/1.007, allocations: 16 kB / 1.037 GB, free: 10.37 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.008, allocations: 334 kB / 1.037 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/1.01, allocations: 473.6 kB / 1.037 GB, free: 9.57 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/1.012, allocations: 0.6598 MB / 1.038 GB, free: 8.836 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/1.014, allocations: 0.4911 MB / 1.038 GB, free: 8.344 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.014, allocations: 4 kB / 1.038 GB, free: 8.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00375/1.017, allocations: 1.276 MB / 1.04 GB, free: 7.055 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/1.018, allocations: 8 kB / 1.04 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.018, allocations: 4 kB / 1.04 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/1.018, allocations: 8 kB / 1.04 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.019, allocations: 284 kB / 1.04 GB, free: 6.758 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/1.019, allocations: 11.95 kB / 1.04 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.021, allocations: 226.8 kB / 1.04 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.021, allocations: 55.97 kB / 1.04 GB, free: 6.469 MB / 0.795 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.0008834/1.022, allocations: 361.5 kB / 1.041 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005138/1.022, allocations: 142.2 kB / 1.041 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/1.026, allocations: 1.27 MB / 1.042 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/1.026, allocations: 15.94 kB / 1.042 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.026, allocations: 3.984 kB / 1.042 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002883/1.029, allocations: 1.114 MB / 1.043 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006255/1.035, allocations: 2.609 MB / 1.046 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.035, allocations: 0 / 1.046 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.036, allocations: 216.1 kB / 1.046 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/1.036, allocations: 15.92 kB / 1.046 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/1.036, allocations: 27.97 kB / 1.046 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/1.036, allocations: 7.938 kB / 1.046 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.036, allocations: 3.984 kB / 1.046 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005017/1.042, allocations: 2.043 MB / 1.048 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.043, allocations: 358.8 kB / 1.048 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/1.043, allocations: 16 kB / 1.048 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.045, allocations: 143.9 kB / 1.048 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.045, allocations: 56.44 kB / 1.048 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.045, allocations: 43.97 kB / 1.049 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001705/1.046, allocations: 0.9362 MB / 1.049 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.11e-07/1.047, allocations: 0 / 1.049 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001763/1.048, allocations: 463.2 kB / 1.05 GB, free: 12.37 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.001173/1.049, allocations: 433.6 kB / 1.05 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003377/1.053, allocations: 1.102 MB / 1.051 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.053, allocations: 4 kB / 1.051 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.054, allocations: 0.566 MB / 1.052 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/1.058, allocations: 0.712 MB / 1.053 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/1.065, allocations: 2.988 MB / 1.056 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.066, allocations: 1.256 MB / 1.057 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002499/1.069, allocations: 327 kB / 1.057 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/1.069, allocations: 131.4 kB / 1.057 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of SimCode: time 1.202e-06/1.069, allocations: 0 / 1.057 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of Templates: time 0.06056/1.13, allocations: 26.94 MB / 1.084 GB, free: 10.21 MB / 0.8419 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