Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001734/0.001735, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.0019/0.0019, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.462/1.462, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437.1 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 64.09 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3224, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06003/0.3825, allocations: 53.45 MB / 1.07 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5568/0.9393, allocations: 11.5 MB / 1.081 GB, free: 19.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/0.9426, allocations: 59.56 kB / 1.081 GB, free: 19.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.9455, allocations: 0.7627 MB / 1.082 GB, free: 19.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007541/0.9531, allocations: 2.17 MB / 1.084 GB, free: 19.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004432/0.9575, allocations: 1.359 MB / 1.086 GB, free: 19.17 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007517/0.9651, allocations: 3.931 MB / 1.089 GB, free: 19.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002938/0.9681, allocations: 1.28 MB / 1.091 GB, free: 18.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005/0.9731, allocations: 1.391 MB / 1.092 GB, free: 18.85 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00312/0.9762, allocations: 1.08 MB / 1.093 GB, free: 18.6 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006305/0.9769, allocations: 139.1 kB / 1.093 GB, free: 18.6 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004539/0.9814, allocations: 1.04 MB / 1.094 GB, free: 18.51 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00095/0.9824, allocations: 441.5 kB / 1.095 GB, free: 18.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002348/0.9848, allocations: 0.8547 MB / 1.096 GB, free: 18.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006176/0.991, allocations: 2.549 MB / 1.098 GB, free: 17.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.991, allocations: 1.25 kB / 1.098 GB, free: 17.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.991, allocations: 7.594 kB / 1.098 GB, free: 17.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.217e-05/0.9911, allocations: 0 / 1.098 GB, free: 17.82 MB / 0.8419 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.005598/0.9967, allocations: 2.019 MB / 1.1 GB, free: 16.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.9968, allocations: 10.52 kB / 1.1 GB, free: 16.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004018/1.001, allocations: 0.5714 MB / 1.101 GB, free: 16.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/1.004, allocations: 1.328 MB / 1.102 GB, free: 16.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/1.004, allocations: 114.2 kB / 1.102 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/1.004, allocations: 96.17 kB / 1.102 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/1.008, allocations: 1.351 MB / 1.103 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/1.008, allocations: 5.031 kB / 1.103 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/1.008, allocations: 36.94 kB / 1.103 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/1.008, allocations: 32.62 kB / 1.103 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004122/1.012, allocations: 1.426 MB / 1.105 GB, free: 14.96 MB / 0.8419 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.01025/1.023, allocations: 5.406 MB / 1.11 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/1.026, allocations: 1.067 MB / 1.111 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/1.028, allocations: 0.6001 MB / 1.112 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007303/1.028, allocations: 1.073 MB / 1.113 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002058/1.03, allocations: 0.6685 MB / 1.113 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 4.829e-06/1.03, allocations: 3.984 kB / 1.113 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.0059/1.036, allocations: 1.757 MB / 1.115 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/1.036, allocations: 59.89 kB / 1.115 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003313/1.04, allocations: 1.409 MB / 1.117 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/1.04, allocations: 42.2 kB / 1.117 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007859/1.041, allocations: 0.6463 MB / 1.117 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/1.041, allocations: 210.9 kB / 1.118 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/1.042, allocations: 161.9 kB / 1.118 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/1.042, allocations: 334 kB / 1.118 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/1.043, allocations: 0.5506 MB / 1.119 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/1.045, allocations: 0.7622 MB / 1.119 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/1.048, allocations: 1.188 MB / 1.12 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.048, allocations: 5.156 kB / 1.12 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0044/1.053, allocations: 1.437 MB / 1.122 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/1.053, allocations: 6.344 kB / 1.122 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/1.053, allocations: 8.719 kB / 1.122 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.859e-05/1.053, allocations: 11.02 kB / 1.122 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.054, allocations: 249.5 kB / 1.122 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/1.054, allocations: 13.67 kB / 1.122 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.056, allocations: 192.4 kB / 1.122 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.056, allocations: 53.62 kB / 1.122 GB, free: 5.734 MB / 0.8419 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.0009515/1.057, allocations: 351.2 kB / 1.123 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007391/1.058, allocations: 144.1 kB / 1.123 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004462/1.063, allocations: 1.42 MB / 1.124 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.063, allocations: 7.031 kB / 1.124 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.063, allocations: 5.125 kB / 1.124 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003359/1.066, allocations: 1.26 MB / 1.125 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/1.074, allocations: 2.958 MB / 1.128 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.074, allocations: 2.469 kB / 1.128 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.075, allocations: 209.8 kB / 1.129 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/1.075, allocations: 4.531 kB / 1.129 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/1.075, allocations: 27.48 kB / 1.129 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/1.075, allocations: 4.688 kB / 1.129 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.075, allocations: 3.219 kB / 1.129 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005894/1.081, allocations: 2.231 MB / 1.131 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.082, allocations: 351.5 kB / 1.131 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005853/1.083, allocations: 13.34 kB / 1.131 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.085, allocations: 124.9 kB / 1.131 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.085, allocations: 57.02 kB / 1.131 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/1.085, allocations: 40.39 kB / 1.131 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002684/1.088, allocations: 0.9922 MB / 1.132 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/1.088, allocations: 1.406 kB / 1.132 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002837/1.091, allocations: 461.6 kB / 1.133 GB, free: 1.461 MB / 0.8419 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.001479/1.092, allocations: 459.9 kB / 1.133 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004498/1.097, allocations: 1.332 MB / 1.134 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.097, allocations: 7.859 kB / 1.134 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/1.099, allocations: 0.6548 MB / 1.135 GB, free: 336 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005221/1.104, allocations: 0.7598 MB / 1.136 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/1.111, allocations: 2.729 MB / 1.139 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.113, allocations: 1.222 MB / 1.14 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008647/1.114, allocations: 139.1 kB / 1.14 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of SimCode: time 1.573e-06/1.114, allocations: 0 / 1.14 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of Templates: time 0.04841/1.162, allocations: 26.4 MB / 1.166 GB, free: 9.055 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches