Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001682/0.001682, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001792/0.001792, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.731/2.731, allocations: 469.8 MB / 0.7427 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 71.27 kB / 0.9087 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3257, allocations: 159.1 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05557/0.3813, allocations: 53.03 MB / 1.116 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.3984, allocations: 11.4 MB / 1.127 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.4008, allocations: 59.62 kB / 1.127 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.4031, allocations: 0.6568 MB / 1.128 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00602/0.4092, allocations: 2.008 MB / 1.13 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.4127, allocations: 1.265 MB / 1.131 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005682/0.4184, allocations: 3.96 MB / 1.135 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.4204, allocations: 1.271 MB / 1.136 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.4238, allocations: 1.414 MB / 1.137 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.4257, allocations: 1.12 MB / 1.139 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.426, allocations: 140 kB / 1.139 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.4285, allocations: 1.053 MB / 1.14 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.429, allocations: 442.5 kB / 1.14 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.4302, allocations: 0.863 MB / 1.141 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.433, allocations: 1.996 MB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.433, allocations: 0 / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.483e-06/0.433, allocations: 0 / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.433, allocations: 0 / 1.143 GB, free: 13.68 MB / 0.9044 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.003615/0.4366, allocations: 2.022 MB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4367, allocations: 8.031 kB / 1.145 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.4401, allocations: 0.5726 MB / 1.145 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.4427, allocations: 1.372 MB / 1.147 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.4429, allocations: 115.7 kB / 1.147 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.4431, allocations: 92 kB / 1.147 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.4463, allocations: 1.358 MB / 1.148 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.4463, allocations: 0 / 1.148 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.4465, allocations: 43.94 kB / 1.148 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/0.4465, allocations: 28 kB / 1.148 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003775/0.4503, allocations: 1.421 MB / 1.15 GB, free: 6.5 MB / 0.9044 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.008712/0.459, allocations: 5.374 MB / 1.155 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.462, allocations: 1.066 MB / 1.156 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.4636, allocations: 0.6016 MB / 1.157 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000914/0.4645, allocations: 1.073 MB / 1.158 GB, free: 13.89 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001828/0.4664, allocations: 0.6744 MB / 1.158 GB, free: 13.2 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 5.2e-06/0.4664, allocations: 11.92 kB / 1.158 GB, free: 13.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005257/0.4716, allocations: 1.754 MB / 1.16 GB, free: 11.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.4717, allocations: 55.97 kB / 1.16 GB, free: 11.36 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.4738, allocations: 1.401 MB / 1.161 GB, free: 9.949 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.4739, allocations: 45.7 kB / 1.162 GB, free: 9.898 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006161/0.4746, allocations: 0.6385 MB / 1.162 GB, free: 9.25 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.4748, allocations: 213 kB / 1.162 GB, free: 9.039 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/0.4751, allocations: 166.4 kB / 1.163 GB, free: 8.871 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.4753, allocations: 337.9 kB / 1.163 GB, free: 8.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.4768, allocations: 0.5484 MB / 1.163 GB, free: 7.984 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.4786, allocations: 0.7574 MB / 1.164 GB, free: 7.148 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.4817, allocations: 1.185 MB / 1.165 GB, free: 5.902 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4818, allocations: 0 / 1.165 GB, free: 5.902 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003928/0.4857, allocations: 1.44 MB / 1.167 GB, free: 4.453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.4857, allocations: 7.938 kB / 1.167 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.4858, allocations: 8 kB / 1.167 GB, free: 4.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.4858, allocations: 8 kB / 1.167 GB, free: 4.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.487, allocations: 247.9 kB / 1.167 GB, free: 4.188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.4871, allocations: 19.92 kB / 1.167 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.4887, allocations: 210.9 kB / 1.167 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/0.4888, allocations: 39.98 kB / 1.167 GB, free: 3.922 MB / 0.92 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.0006369/0.4894, allocations: 357.6 kB / 1.168 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.4897, allocations: 150.1 kB / 1.168 GB, free: 3.414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.4935, allocations: 1.415 MB / 1.169 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.4936, allocations: 8 kB / 1.169 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4936, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003211/0.4968, allocations: 1.263 MB / 1.17 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006329/0.5031, allocations: 2.957 MB / 1.173 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/0.5032, allocations: 4 kB / 1.173 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.5044, allocations: 203.9 kB / 1.173 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.5044, allocations: 11.98 kB / 1.173 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/0.5045, allocations: 19.98 kB / 1.173 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.5045, allocations: 4 kB / 1.173 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5045, allocations: 7.984 kB / 1.173 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/0.5102, allocations: 2.231 MB / 1.176 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007797/0.511, allocations: 351 kB / 1.176 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.5112, allocations: 16 kB / 1.176 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.5126, allocations: 139.8 kB / 1.176 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.5127, allocations: 52.38 kB / 1.176 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.5128, allocations: 43.95 kB / 1.176 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001476/0.5143, allocations: 0.9791 MB / 1.177 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5143, allocations: 4 kB / 1.177 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00135/0.5157, allocations: 451.4 kB / 1.178 GB, free: 9.086 MB / 0.9356 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.0009296/0.5166, allocations: 452.4 kB / 1.178 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003851/0.5205, allocations: 1.328 MB / 1.179 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5205, allocations: 0 / 1.179 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.5223, allocations: 0.6597 MB / 1.18 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/0.5258, allocations: 0.7637 MB / 1.181 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/0.5313, allocations: 3.187 MB / 1.184 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008924/0.5322, allocations: 1.217 MB / 1.185 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/0.5328, allocations: 139.3 kB / 1.185 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of SimCode: time 7.81e-07/0.5328, allocations: 0 / 1.185 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of Templates: time 0.0423/0.5751, allocations: 26.17 MB / 1.211 GB, free: 7.289 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches