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.001412/0.001411, allocations: 108 kB / 15.6 MB, free: 132 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.001622/0.001622, allocations: 195 kB / 16.53 MB, free: 6.391 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.794/2.794, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9223/0.9237, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05489/0.9787, allocations: 53.45 MB / 1.069 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.9954, allocations: 11.5 MB / 1.081 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/0.9984, allocations: 63.69 kB / 1.081 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002451/1.001, allocations: 0.7625 MB / 1.082 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006278/1.007, allocations: 2.163 MB / 1.084 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/1.011, allocations: 1.363 MB / 1.085 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005788/1.017, allocations: 3.918 MB / 1.089 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/1.019, allocations: 1.279 MB / 1.09 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003535/1.022, allocations: 1.403 MB / 1.091 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/1.024, allocations: 1.081 MB / 1.092 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002225/1.024, allocations: 140 kB / 1.093 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/1.027, allocations: 1.041 MB / 1.094 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004046/1.027, allocations: 438.5 kB / 1.094 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009434/1.028, allocations: 0.8629 MB / 1.095 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003767/1.032, allocations: 2.547 MB / 1.097 GB, free: 196 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.032, allocations: 0 / 1.097 GB, free: 196 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.755e-06/1.032, allocations: 0 / 1.097 GB, free: 196 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.966e-05/1.032, allocations: 0 / 1.097 GB, free: 196 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.003824/1.036, allocations: 2.014 MB / 1.099 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.036, allocations: 8.031 kB / 1.099 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/1.039, allocations: 0.5764 MB / 1.1 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/1.041, allocations: 1.333 MB / 1.101 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/1.042, allocations: 119.7 kB / 1.101 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/1.042, allocations: 92 kB / 1.101 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/1.045, allocations: 1.358 MB / 1.103 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.045, allocations: 0 / 1.103 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.045, allocations: 36 kB / 1.103 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/1.045, allocations: 27.94 kB / 1.103 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003859/1.049, allocations: 1.429 MB / 1.104 GB, free: 9.055 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.007816/1.057, allocations: 5.394 MB / 1.109 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/1.06, allocations: 1.071 MB / 1.11 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/1.061, allocations: 0.6008 MB / 1.111 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/1.062, allocations: 1.065 MB / 1.112 GB, free: 436 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/1.064, allocations: 0.6822 MB / 1.113 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 3.176e-06/1.064, allocations: 0 / 1.113 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.005227/1.069, allocations: 1.754 MB / 1.114 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.069, allocations: 55.97 kB / 1.115 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/1.071, allocations: 1.413 MB / 1.116 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/1.072, allocations: 41.64 kB / 1.116 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007818/1.072, allocations: 0.6462 MB / 1.117 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/1.073, allocations: 209 kB / 1.117 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/1.073, allocations: 166.5 kB / 1.117 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.073, allocations: 337.9 kB / 1.117 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/1.075, allocations: 0.5562 MB / 1.118 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/1.077, allocations: 0.7473 MB / 1.119 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/1.08, allocations: 1.189 MB / 1.12 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.08, allocations: 4 kB / 1.12 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004082/1.084, allocations: 1.437 MB / 1.121 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/1.084, allocations: 18 kB / 1.121 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.084, allocations: 4 kB / 1.121 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/1.084, allocations: 8 kB / 1.121 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.085, allocations: 247.6 kB / 1.121 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/1.085, allocations: 11.98 kB / 1.121 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/1.087, allocations: 193.1 kB / 1.122 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/1.087, allocations: 39.97 kB / 1.122 GB, free: 6.473 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.0006621/1.088, allocations: 365.5 kB / 1.122 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/1.088, allocations: 146.2 kB / 1.122 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005125/1.093, allocations: 1.411 MB / 1.123 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/1.093, allocations: 11.98 kB / 1.123 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.093, allocations: 0 / 1.123 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003977/1.097, allocations: 1.259 MB / 1.125 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006343/1.103, allocations: 2.965 MB / 1.128 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.103, allocations: 4 kB / 1.128 GB, free: 184 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.105, allocations: 207.9 kB / 1.128 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.138e-05/1.105, allocations: 4 kB / 1.128 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/1.105, allocations: 27.97 kB / 1.128 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.737e-05/1.105, allocations: 12 kB / 1.128 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.105, allocations: 0 / 1.128 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005812/1.111, allocations: 2.231 MB / 1.13 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000952/1.112, allocations: 355 kB / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000399/1.112, allocations: 16 kB / 1.13 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.114, allocations: 115.8 kB / 1.131 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/1.114, allocations: 56.53 kB / 1.131 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.114, allocations: 39.89 kB / 1.131 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002014/1.116, allocations: 0.9908 MB / 1.132 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.895e-06/1.116, allocations: 0 / 1.132 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001746/1.118, allocations: 467.3 kB / 1.132 GB, free: 11.62 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.001277/1.119, allocations: 445.3 kB / 1.132 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00397/1.123, allocations: 1.34 MB / 1.134 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.123, allocations: 0 / 1.134 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/1.125, allocations: 0.6519 MB / 1.134 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005054/1.13, allocations: 0.7688 MB / 1.135 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005622/1.135, allocations: 2.678 MB / 1.138 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009955/1.136, allocations: 1.221 MB / 1.139 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001654/1.138, allocations: 318.7 kB / 1.139 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/1.139, allocations: 127.3 kB / 1.139 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of SimCode: time 7.22e-07/1.139, allocations: 0 / 1.139 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of Templates: time 0.05665/1.195, allocations: 30.32 MB / 1.169 GB, free: 6.086 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=480 -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