Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007768/0.007768, allocations: 104.3 kB / 15.74 MB, free: 6.059 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.001291/0.001292, allocations: 196.4 kB / 16.68 MB, free: 5.969 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.468/1.468, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 60.14 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06231/1.082, allocations: 53.46 MB / 1.14 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02401/1.106, allocations: 11.49 MB / 1.151 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/1.111, allocations: 64.31 kB / 1.151 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003436/1.114, allocations: 0.7761 MB / 1.152 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009557/1.124, allocations: 2.272 MB / 1.154 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005415/1.129, allocations: 1.383 MB / 1.156 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009474/1.139, allocations: 3.944 MB / 1.16 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003842/1.143, allocations: 1.284 MB / 1.161 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005443/1.148, allocations: 1.435 MB / 1.162 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/1.151, allocations: 1.081 MB / 1.163 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000873/1.152, allocations: 141.6 kB / 1.163 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004916/1.157, allocations: 1.052 MB / 1.164 GB, free: 164 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001295/1.158, allocations: 436.3 kB / 1.165 GB, free: 15.92 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003286/1.162, allocations: 0.8534 MB / 1.166 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/1.173, allocations: 2.577 MB / 1.168 GB, free: 14.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/1.173, allocations: 0 / 1.168 GB, free: 14.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.064e-06/1.173, allocations: 1.219 kB / 1.168 GB, free: 14.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001292/1.173, allocations: 4 kB / 1.168 GB, free: 14.4 MB / 0.92 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.008285/1.181, allocations: 2.021 MB / 1.17 GB, free: 12.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.181, allocations: 12.66 kB / 1.17 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004099/1.185, allocations: 0.5679 MB / 1.171 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/1.189, allocations: 1.398 MB / 1.172 GB, free: 11.65 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/1.189, allocations: 117 kB / 1.172 GB, free: 11.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003956/1.19, allocations: 95.06 kB / 1.172 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004057/1.194, allocations: 1.358 MB / 1.174 GB, free: 10.74 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/1.194, allocations: 1.375 kB / 1.174 GB, free: 10.74 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/1.194, allocations: 36.97 kB / 1.174 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/1.194, allocations: 35.09 kB / 1.174 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0042/1.198, allocations: 1.428 MB / 1.175 GB, free: 10.02 MB / 0.92 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.01096/1.209, allocations: 5.355 MB / 1.18 GB, free: 5.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/1.213, allocations: 1.063 MB / 1.181 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/1.214, allocations: 0.5987 MB / 1.182 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008783/1.215, allocations: 1.074 MB / 1.183 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/1.217, allocations: 0.6758 MB / 1.184 GB, free: 3.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 5.4e-06/1.217, allocations: 3.984 kB / 1.184 GB, free: 3.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005851/1.223, allocations: 1.751 MB / 1.185 GB, free: 2.438 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/1.223, allocations: 58.31 kB / 1.185 GB, free: 2.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/1.227, allocations: 1.416 MB / 1.187 GB, free: 1.613 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/1.227, allocations: 42.61 kB / 1.187 GB, free: 1.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007986/1.228, allocations: 0.6429 MB / 1.187 GB, free: 1 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/1.228, allocations: 215.1 kB / 1.188 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004742/1.229, allocations: 165.7 kB / 1.188 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.229, allocations: 337.4 kB / 1.188 GB, free: 392 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/1.231, allocations: 0.5496 MB / 1.189 GB, free: 128 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/1.233, allocations: 0.7517 MB / 1.189 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/1.236, allocations: 1.19 MB / 1.191 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/1.236, allocations: 1.125 kB / 1.191 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004974/1.241, allocations: 1.435 MB / 1.192 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/1.241, allocations: 12.75 kB / 1.192 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/1.241, allocations: 5.688 kB / 1.192 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.276e-05/1.241, allocations: 12 kB / 1.192 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.243, allocations: 250.6 kB / 1.192 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-05/1.243, allocations: 13.14 kB / 1.192 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/1.245, allocations: 186.9 kB / 1.192 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/1.245, allocations: 44.34 kB / 1.193 GB, free: 14.03 MB / 0.9356 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.001016/1.246, allocations: 360 kB / 1.193 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/1.247, allocations: 147.4 kB / 1.193 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004559/1.251, allocations: 1.427 MB / 1.194 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/1.251, allocations: 5.719 kB / 1.194 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.251, allocations: 1.125 kB / 1.194 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003556/1.255, allocations: 1.259 MB / 1.196 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007953/1.263, allocations: 2.97 MB / 1.199 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.263, allocations: 1.5 kB / 1.199 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/1.264, allocations: 209.1 kB / 1.199 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/1.264, allocations: 8.656 kB / 1.199 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.512e-05/1.264, allocations: 24.62 kB / 1.199 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/1.264, allocations: 4.938 kB / 1.199 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.264, allocations: 1.469 kB / 1.199 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005995/1.27, allocations: 2.23 MB / 1.201 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.271, allocations: 352.8 kB / 1.201 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005423/1.272, allocations: 12.81 kB / 1.201 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.274, allocations: 118.9 kB / 1.201 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.274, allocations: 54.81 kB / 1.201 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.274, allocations: 37.27 kB / 1.201 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002145/1.276, allocations: 0.9912 MB / 1.202 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/1.276, allocations: 3.938 kB / 1.202 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002503/1.278, allocations: 463.4 kB / 1.203 GB, free: 7.27 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.001464/1.28, allocations: 454.4 kB / 1.203 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00397/1.284, allocations: 1.281 MB / 1.205 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.284, allocations: 0 / 1.205 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001895/1.286, allocations: 0.6519 MB / 1.205 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/1.291, allocations: 0.769 MB / 1.206 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/1.296, allocations: 2.639 MB / 1.209 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.298, allocations: 1.229 MB / 1.21 GB, free: 192 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001793/1.299, allocations: 308.4 kB / 1.21 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/1.3, allocations: 127.4 kB / 1.21 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of SimCode: time 2.745e-06/1.3, allocations: 0 / 1.21 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of Templates: time 0.05936/1.359, allocations: 30.48 MB / 1.24 GB, free: 1.652 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches