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.001871/0.001871, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 195 kB / 16.53 MB, free: 6.699 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.512/1.512, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.754/2.754, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002144, allocations: 63.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7911, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06004/0.8512, allocations: 53.47 MB / 1.07 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02027/0.8715, allocations: 11.49 MB / 1.081 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.8745, allocations: 67.56 kB / 1.081 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.877, allocations: 0.7587 MB / 1.082 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006675/0.8838, allocations: 2.173 MB / 1.084 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.8879, allocations: 1.352 MB / 1.085 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006388/0.8943, allocations: 3.926 MB / 1.089 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00265/0.8969, allocations: 1.287 MB / 1.09 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.9012, allocations: 1.391 MB / 1.091 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.9035, allocations: 1.081 MB / 1.092 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004297/0.904, allocations: 140 kB / 1.093 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.9072, allocations: 1.045 MB / 1.094 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006698/0.9079, allocations: 438.5 kB / 1.094 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.91, allocations: 0.8513 MB / 1.095 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006841/0.9168, allocations: 2.555 MB / 1.097 GB, free: 228 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.9169, allocations: 0 / 1.097 GB, free: 228 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.166e-06/0.9169, allocations: 0 / 1.097 GB, free: 228 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.987e-05/0.9169, allocations: 0 / 1.097 GB, free: 228 kB / 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.004655/0.9216, allocations: 2.018 MB / 1.099 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.9217, allocations: 8.031 kB / 1.099 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/0.9252, allocations: 0.5725 MB / 1.1 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.9279, allocations: 1.325 MB / 1.101 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.9281, allocations: 127.6 kB / 1.101 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.9283, allocations: 92 kB / 1.101 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/0.9314, allocations: 1.358 MB / 1.103 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.9314, allocations: 4 kB / 1.103 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.9315, allocations: 36 kB / 1.103 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.9316, allocations: 24 kB / 1.103 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003854/0.9354, allocations: 1.432 MB / 1.104 GB, free: 9.082 MB / 0.8575 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.009378/0.9448, allocations: 5.39 MB / 1.109 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/0.9479, allocations: 1.071 MB / 1.111 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.9495, allocations: 0.5997 MB / 1.111 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.9506, allocations: 1.069 MB / 1.112 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/0.9524, allocations: 0.6744 MB / 1.113 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 2.905e-06/0.9524, allocations: 0 / 1.113 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.005434/0.9579, allocations: 1.758 MB / 1.115 GB, free: 14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.958, allocations: 55.97 kB / 1.115 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.9602, allocations: 1.413 MB / 1.116 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.9604, allocations: 37.7 kB / 1.116 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007161/0.9611, allocations: 0.654 MB / 1.117 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.9614, allocations: 209 kB / 1.117 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.9617, allocations: 162.5 kB / 1.117 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.9619, allocations: 330 kB / 1.117 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.9636, allocations: 0.5562 MB / 1.118 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.9654, allocations: 0.7554 MB / 1.119 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/0.9686, allocations: 1.189 MB / 1.12 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.9687, allocations: 4 kB / 1.12 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004443/0.9731, allocations: 1.436 MB / 1.121 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.9732, allocations: 11.94 kB / 1.121 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.9732, allocations: 4 kB / 1.121 GB, free: 7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.9732, allocations: 8 kB / 1.121 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.9745, allocations: 248 kB / 1.121 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.105e-05/0.9745, allocations: 23.91 kB / 1.121 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.9762, allocations: 190.9 kB / 1.122 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.9763, allocations: 39.97 kB / 1.122 GB, free: 6.5 MB / 0.8731 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.0007997/0.9771, allocations: 357.6 kB / 1.122 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.9774, allocations: 146.2 kB / 1.122 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/0.9814, allocations: 1.407 MB / 1.123 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.9815, allocations: 15.98 kB / 1.124 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9815, allocations: 0 / 1.124 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003338/0.9848, allocations: 1.263 MB / 1.125 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.9913, allocations: 2.961 MB / 1.128 GB, free: 224 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.9913, allocations: 7.984 kB / 1.128 GB, free: 216 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.9925, allocations: 211.7 kB / 1.128 GB, free: 4 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.9925, allocations: 4 kB / 1.128 GB, free: 0 / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.78e-05/0.9926, allocations: 28.05 kB / 1.128 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.9926, allocations: 8 kB / 1.128 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9927, allocations: 0 / 1.128 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005771/0.9984, allocations: 2.227 MB / 1.13 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009011/0.9994, allocations: 355 kB / 1.13 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.9996, allocations: 16 kB / 1.13 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.001, allocations: 119.8 kB / 1.131 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.001, allocations: 56.38 kB / 1.131 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-05/1.001, allocations: 36.06 kB / 1.131 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001604/1.003, allocations: 0.9947 MB / 1.132 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/1.003, allocations: 0 / 1.132 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001651/1.004, allocations: 463.4 kB / 1.132 GB, free: 11.65 MB / 0.8887 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.001105/1.005, allocations: 457.5 kB / 1.132 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004114/1.01, allocations: 1.332 MB / 1.134 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.01, allocations: 0 / 1.134 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/1.012, allocations: 0.6519 MB / 1.134 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/1.016, allocations: 0.7684 MB / 1.135 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005751/1.021, allocations: 2.686 MB / 1.138 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/1.022, allocations: 1.221 MB / 1.139 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001524/1.024, allocations: 308.9 kB / 1.139 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/1.024, allocations: 127.4 kB / 1.139 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of SimCode: time 9.22e-07/1.024, allocations: 0 / 1.139 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of Templates: time 0.0601/1.084, allocations: 30.32 MB / 1.169 GB, free: 6.117 MB / 0.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches