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.007577/0.007577, allocations: 99.89 kB / 15.73 MB, free: 6.043 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.001637/0.001637, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7347 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8458/0.847, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05288/0.9, allocations: 53.46 MB / 1.26 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.9186, allocations: 11.5 MB / 1.271 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00333/0.9219, allocations: 63.62 kB / 1.271 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.9247, allocations: 0.7838 MB / 1.272 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009253/0.934, allocations: 2.271 MB / 1.274 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.9389, allocations: 1.382 MB / 1.276 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007838/0.9468, allocations: 3.941 MB / 1.279 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.9494, allocations: 1.279 MB / 1.281 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004333/0.9537, allocations: 1.431 MB / 1.282 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.9562, allocations: 1.077 MB / 1.283 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004074/0.9567, allocations: 140 kB / 1.283 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003613/0.9603, allocations: 1.057 MB / 1.284 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005439/0.9608, allocations: 442.5 kB / 1.285 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.9623, allocations: 0.8513 MB / 1.286 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005185/0.9675, allocations: 2.58 MB / 1.288 GB, free: 11.05 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9675, allocations: 0 / 1.288 GB, free: 11.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9675, allocations: 0 / 1.288 GB, free: 11.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.77e-05/0.9676, allocations: 0 / 1.288 GB, free: 11.05 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.004272/0.9718, allocations: 2.014 MB / 1.29 GB, free: 8.984 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.9719, allocations: 12.03 kB / 1.29 GB, free: 8.973 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/0.9753, allocations: 0.5686 MB / 1.291 GB, free: 8.402 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.978, allocations: 1.403 MB / 1.292 GB, free: 6.945 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.9781, allocations: 111.7 kB / 1.292 GB, free: 6.828 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.9783, allocations: 96 kB / 1.292 GB, free: 6.734 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.9813, allocations: 1.354 MB / 1.293 GB, free: 5.348 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.9814, allocations: 7.938 kB / 1.293 GB, free: 5.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.9815, allocations: 43.94 kB / 1.294 GB, free: 5.297 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.9815, allocations: 27.94 kB / 1.294 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.9852, allocations: 1.429 MB / 1.295 GB, free: 3.84 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.008659/0.9939, allocations: 5.343 MB / 1.3 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.9969, allocations: 1.069 MB / 1.301 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.9984, allocations: 0.6037 MB / 1.302 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.9994, allocations: 1.073 MB / 1.303 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/1.001, allocations: 0.6705 MB / 1.303 GB, free: 10.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=60): time 3.587e-06/1.001, allocations: 4 kB / 1.303 GB, free: 10.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=60): time 0.00543/1.007, allocations: 1.754 MB / 1.305 GB, free: 8.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/1.007, allocations: 59.97 kB / 1.305 GB, free: 8.734 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/1.01, allocations: 1.417 MB / 1.307 GB, free: 7.309 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/1.01, allocations: 37.7 kB / 1.307 GB, free: 7.266 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007557/1.011, allocations: 0.6463 MB / 1.307 GB, free: 6.609 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/1.011, allocations: 209 kB / 1.308 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/1.012, allocations: 166.4 kB / 1.308 GB, free: 6.234 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.012, allocations: 333.9 kB / 1.308 GB, free: 5.902 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/1.013, allocations: 0.5562 MB / 1.309 GB, free: 5.348 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/1.015, allocations: 0.7574 MB / 1.309 GB, free: 4.516 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/1.018, allocations: 1.189 MB / 1.31 GB, free: 3.262 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/1.018, allocations: 4 kB / 1.31 GB, free: 3.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004294/1.023, allocations: 1.432 MB / 1.312 GB, free: 1.816 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/1.023, allocations: 11.94 kB / 1.312 GB, free: 1.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.023, allocations: 4.438 kB / 1.312 GB, free: 1.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/1.023, allocations: 8 kB / 1.312 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.024, allocations: 259.6 kB / 1.312 GB, free: 1.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/1.024, allocations: 8 kB / 1.312 GB, free: 1.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.026, allocations: 179 kB / 1.312 GB, free: 1.355 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/1.026, allocations: 43.97 kB / 1.312 GB, free: 1.312 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.0008678/1.027, allocations: 357.5 kB / 1.313 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005798/1.027, allocations: 146.2 kB / 1.313 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/1.031, allocations: 1.422 MB / 1.314 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/1.031, allocations: 12 kB / 1.314 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.032, allocations: 0 / 1.314 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003331/1.035, allocations: 1.259 MB / 1.315 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006879/1.042, allocations: 2.976 MB / 1.318 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.042, allocations: 4 kB / 1.318 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.043, allocations: 203.9 kB / 1.319 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/1.043, allocations: 4 kB / 1.319 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/1.043, allocations: 24.06 kB / 1.319 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.043, allocations: 15.92 kB / 1.319 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.043, allocations: 0 / 1.319 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005611/1.049, allocations: 2.23 MB / 1.321 GB, free: 8.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008236/1.05, allocations: 351 kB / 1.321 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003463/1.05, allocations: 20.06 kB / 1.321 GB, free: 8.098 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/1.051, allocations: 115.8 kB / 1.321 GB, free: 7.984 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.052, allocations: 52.44 kB / 1.321 GB, free: 7.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.052, allocations: 35.95 kB / 1.321 GB, free: 7.898 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002466/1.054, allocations: 0.9986 MB / 1.322 GB, free: 6.902 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.61e-07/1.054, allocations: 4 kB / 1.322 GB, free: 6.898 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001763/1.056, allocations: 463.4 kB / 1.323 GB, free: 6.445 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.001156/1.057, allocations: 447.6 kB / 1.323 GB, free: 6.012 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003603/1.061, allocations: 1.281 MB / 1.324 GB, free: 4.727 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.061, allocations: 0 / 1.324 GB, free: 4.727 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/1.063, allocations: 0.6558 MB / 1.325 GB, free: 4.074 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00399/1.067, allocations: 0.752 MB / 1.326 GB, free: 3.336 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/1.072, allocations: 2.647 MB / 1.328 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/1.073, allocations: 1.225 MB / 1.33 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001483/1.075, allocations: 310 kB / 1.33 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/1.075, allocations: 127.4 kB / 1.33 GB, free: 14.95 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/1.075, allocations: 0 / 1.33 GB, free: 14.95 MB / 1.061 GB Notification: Performance of Templates: time 0.05386/1.129, allocations: 30.49 MB / 1.36 GB, free: 0.793 MB / 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