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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005805/0.005805, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001243/0.001243, allocations: 197.2 kB / 16.68 MB, free: 5.965 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.89 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.863, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05152/0.9146, allocations: 53.46 MB / 1.26 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.9313, allocations: 11.5 MB / 1.271 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.9339, allocations: 59.69 kB / 1.271 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.9361, allocations: 0.7604 MB / 1.272 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006335/0.9425, allocations: 2.161 MB / 1.274 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.9463, allocations: 1.393 MB / 1.275 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005671/0.952, allocations: 3.926 MB / 1.279 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.9538, allocations: 1.279 MB / 1.281 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.957, allocations: 1.439 MB / 1.282 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.9587, allocations: 1.081 MB / 1.283 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.9589, allocations: 140 kB / 1.283 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.962, allocations: 1.049 MB / 1.284 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004679/0.9625, allocations: 442.4 kB / 1.285 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.9635, allocations: 0.8551 MB / 1.285 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.9672, allocations: 2.576 MB / 1.288 GB, free: 11.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.9672, allocations: 0 / 1.288 GB, free: 11.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9672, allocations: 0 / 1.288 GB, free: 11.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.687e-05/0.9673, allocations: 4 kB / 1.288 GB, free: 11.2 MB / 1.014 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.004083/0.9713, allocations: 2.016 MB / 1.29 GB, free: 9.133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.9714, allocations: 8.031 kB / 1.29 GB, free: 9.125 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.9748, allocations: 0.5686 MB / 1.29 GB, free: 8.555 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.9773, allocations: 1.407 MB / 1.292 GB, free: 7.094 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.9774, allocations: 115.7 kB / 1.292 GB, free: 6.973 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.9776, allocations: 96 kB / 1.292 GB, free: 6.879 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.9805, allocations: 1.35 MB / 1.293 GB, free: 5.496 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.9806, allocations: 0 / 1.293 GB, free: 5.496 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.9807, allocations: 47.92 kB / 1.293 GB, free: 5.449 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/0.9807, allocations: 28 kB / 1.293 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003702/0.9844, allocations: 1.421 MB / 1.295 GB, free: 4 MB / 1.014 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.007834/0.9923, allocations: 5.355 MB / 1.3 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/0.9952, allocations: 1.068 MB / 1.301 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.9967, allocations: 0.6036 MB / 1.302 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000781/0.9975, allocations: 1.069 MB / 1.303 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.9993, allocations: 0.6744 MB / 1.303 GB, free: 10.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=60): time 4.328e-06/0.9993, allocations: 3.938 kB / 1.303 GB, free: 10.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=60): time 0.00525/1.005, allocations: 1.754 MB / 1.305 GB, free: 8.953 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/1.005, allocations: 59.97 kB / 1.305 GB, free: 8.883 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/1.006, allocations: 1.413 MB / 1.307 GB, free: 7.461 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/1.007, allocations: 37.7 kB / 1.307 GB, free: 7.418 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/1.007, allocations: 0.6502 MB / 1.307 GB, free: 6.758 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/1.007, allocations: 201 kB / 1.307 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/1.008, allocations: 170.4 kB / 1.308 GB, free: 6.387 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.008, allocations: 334 kB / 1.308 GB, free: 6.055 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/1.009, allocations: 0.5523 MB / 1.308 GB, free: 5.504 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/1.011, allocations: 0.7574 MB / 1.309 GB, free: 4.672 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/1.014, allocations: 1.193 MB / 1.31 GB, free: 3.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/1.014, allocations: 7.938 kB / 1.31 GB, free: 3.406 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003941/1.018, allocations: 1.432 MB / 1.312 GB, free: 1.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/1.018, allocations: 11.94 kB / 1.312 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.018, allocations: 4 kB / 1.312 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.507e-05/1.018, allocations: 11.98 kB / 1.312 GB, free: 1.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.02, allocations: 248 kB / 1.312 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.847e-05/1.02, allocations: 11.94 kB / 1.312 GB, free: 1.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.022, allocations: 183 kB / 1.312 GB, free: 1.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.022, allocations: 43.97 kB / 1.312 GB, free: 1.461 MB / 1.029 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.0007325/1.022, allocations: 361.5 kB / 1.313 GB, free: 1.098 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/1.023, allocations: 146.2 kB / 1.313 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/1.027, allocations: 1.413 MB / 1.314 GB, free: 15.53 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/1.027, allocations: 8 kB / 1.314 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.027, allocations: 0 / 1.314 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003343/1.03, allocations: 1.267 MB / 1.315 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006629/1.037, allocations: 2.973 MB / 1.318 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/1.037, allocations: 4 kB / 1.318 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/1.038, allocations: 200 kB / 1.318 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/1.038, allocations: 11.98 kB / 1.318 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/1.038, allocations: 19.98 kB / 1.318 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/1.038, allocations: 4 kB / 1.318 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.038, allocations: 11.92 kB / 1.318 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005692/1.044, allocations: 2.231 MB / 1.321 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007676/1.044, allocations: 347 kB / 1.321 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/1.045, allocations: 19.98 kB / 1.321 GB, free: 8.258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.046, allocations: 115.9 kB / 1.321 GB, free: 8.145 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.046, allocations: 64.41 kB / 1.321 GB, free: 8.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.965e-05/1.046, allocations: 31.97 kB / 1.321 GB, free: 8.051 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001674/1.048, allocations: 0.9947 MB / 1.322 GB, free: 7.059 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.048, allocations: 0 / 1.322 GB, free: 7.059 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001461/1.049, allocations: 463.4 kB / 1.323 GB, free: 6.605 MB / 1.045 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.001052/1.05, allocations: 454.3 kB / 1.323 GB, free: 6.164 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003678/1.054, allocations: 1.285 MB / 1.324 GB, free: 4.875 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.054, allocations: 4 kB / 1.324 GB, free: 4.871 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/1.056, allocations: 0.6519 MB / 1.325 GB, free: 4.223 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/1.06, allocations: 0.7533 MB / 1.326 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/1.065, allocations: 2.647 MB / 1.328 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.066, allocations: 1.225 MB / 1.329 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001274/1.067, allocations: 309.6 kB / 1.33 GB, free: 15.22 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/1.068, allocations: 127.4 kB / 1.33 GB, free: 15.09 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/1.068, allocations: 0 / 1.33 GB, free: 15.09 MB / 1.061 GB Notification: Performance of Templates: time 0.05299/1.121, allocations: 31.01 MB / 1.36 GB, free: 432 kB / 1.076 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches