Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001006/0.001006, allocations: 91.92 kB / 16.02 MB, free: 80 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.00134/0.00134, allocations: 177.3 kB / 16.92 MB, free: 6.652 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.652/2.652, allocations: 443.2 MB / 0.7181 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 10.88 kB / 0.8801 GB, free: 42.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2929, allocations: 155.1 MB / 1.032 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05678/0.3497, allocations: 52.12 MB / 1.083 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.3678, allocations: 11.41 MB / 1.094 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.3707, allocations: 55.62 kB / 1.094 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.3732, allocations: 0.6409 MB / 1.094 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006947/0.3802, allocations: 1.983 MB / 1.096 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.3842, allocations: 1.242 MB / 1.097 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006487/0.3907, allocations: 5.06 MB / 1.102 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.3931, allocations: 1.061 MB / 1.103 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.396, allocations: 1.155 MB / 1.105 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.3983, allocations: 1.046 MB / 1.106 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004028/0.3987, allocations: 56 kB / 1.106 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.4014, allocations: 0.9353 MB / 1.107 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006083/0.4021, allocations: 354.5 kB / 1.107 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.4035, allocations: 0.7787 MB / 1.108 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.4063, allocations: 1.929 MB / 1.11 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4063, allocations: 0 / 1.11 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4063, allocations: 0 / 1.11 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.18e-05/0.4064, allocations: 0 / 1.11 GB, free: 4.633 MB / 0.8575 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.004049/0.4104, allocations: 1.73 MB / 1.111 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4105, allocations: 8.031 kB / 1.111 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003876/0.4144, allocations: 0.631 MB / 1.112 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.4174, allocations: 1.364 MB / 1.113 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.4176, allocations: 119.6 kB / 1.113 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.4178, allocations: 96 kB / 1.113 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/0.4215, allocations: 1.385 MB / 1.115 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.4215, allocations: 8 kB / 1.115 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.4216, allocations: 36 kB / 1.115 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.4217, allocations: 27.94 kB / 1.115 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004446/0.4261, allocations: 1.503 MB / 1.116 GB, free: 13.58 MB / 0.8731 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.01094/0.4371, allocations: 5.401 MB / 1.122 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.4402, allocations: 1.126 MB / 1.123 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.4419, allocations: 0.6378 MB / 1.123 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000816/0.4428, allocations: 1.065 MB / 1.124 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001975/0.4448, allocations: 0.7173 MB / 1.125 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 3.526e-06/0.4448, allocations: 4 kB / 1.125 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.005601/0.4504, allocations: 1.856 MB / 1.127 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.4505, allocations: 63.97 kB / 1.127 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.4528, allocations: 1.394 MB / 1.128 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.453, allocations: 37.7 kB / 1.128 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005915/0.4536, allocations: 0.654 MB / 1.129 GB, free: 80 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.4539, allocations: 205.2 kB / 1.129 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.454, allocations: 69.67 kB / 1.129 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4541, allocations: 334 kB / 1.13 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.4559, allocations: 0.5875 MB / 1.13 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.4578, allocations: 0.7966 MB / 1.131 GB, free: 14 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/0.4612, allocations: 1.264 MB / 1.132 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.4612, allocations: 0 / 1.132 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00443/0.4657, allocations: 1.507 MB / 1.134 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.4657, allocations: 11.94 kB / 1.134 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.4657, allocations: 4 kB / 1.134 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.4658, allocations: 8 kB / 1.134 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.4672, allocations: 272 kB / 1.134 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.4672, allocations: 11.94 kB / 1.134 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.4691, allocations: 238.8 kB / 1.134 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.4692, allocations: 39.97 kB / 1.134 GB, free: 10.59 MB / 0.8887 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.0007335/0.4699, allocations: 353.7 kB / 1.134 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000394/0.4703, allocations: 154.1 kB / 1.135 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004293/0.4746, allocations: 1.489 MB / 1.136 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.4747, allocations: 12 kB / 1.136 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4747, allocations: 0 / 1.136 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0036/0.4783, allocations: 1.337 MB / 1.137 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/0.4853, allocations: 3.027 MB / 1.14 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4854, allocations: 256 / 1.14 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.4867, allocations: 231.7 kB / 1.141 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/0.4867, allocations: 4 kB / 1.141 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.4868, allocations: 23.97 kB / 1.141 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.4868, allocations: 4 kB / 1.141 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4868, allocations: 7.984 kB / 1.141 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/0.4928, allocations: 2.34 MB / 1.143 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008981/0.4937, allocations: 379 kB / 1.143 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/0.4941, allocations: 12 kB / 1.143 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.4957, allocations: 151.7 kB / 1.143 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.4959, allocations: 52.44 kB / 1.143 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.496, allocations: 39.95 kB / 1.144 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001947/0.4979, allocations: 0.983 MB / 1.144 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4979, allocations: 4 kB / 1.144 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001965/0.4999, allocations: 455.4 kB / 1.145 GB, free: 15.36 MB / 0.9044 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.001132/0.5011, allocations: 445.6 kB / 1.145 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00397/0.505, allocations: 1.348 MB / 1.147 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.5051, allocations: 0 / 1.147 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.507, allocations: 0.691 MB / 1.147 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004907/0.512, allocations: 0.7438 MB / 1.148 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.5184, allocations: 3.261 MB / 1.151 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.5195, allocations: 1.218 MB / 1.152 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/0.5203, allocations: 143.3 kB / 1.153 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of SimCode: time 1.152e-06/0.5203, allocations: 0 / 1.153 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of Templates: time 0.041/0.5613, allocations: 25.95 MB / 1.178 GB, free: 13.68 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches