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.001165/0.001164, allocations: 111.5 kB / 16.41 MB, free: 6.492 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.001479/0.00148, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.792/2.792, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 72.09 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8149, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05133/0.8663, allocations: 53.47 MB / 1.22 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.8825, allocations: 11.5 MB / 1.231 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/0.885, allocations: 63.62 kB / 1.231 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002934/0.8879, allocations: 0.7722 MB / 1.232 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008235/0.8962, allocations: 2.273 MB / 1.234 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.9001, allocations: 1.386 MB / 1.235 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005862/0.906, allocations: 3.939 MB / 1.239 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.9081, allocations: 1.283 MB / 1.24 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.9118, allocations: 1.432 MB / 1.242 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.9135, allocations: 1.081 MB / 1.243 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002285/0.9137, allocations: 143.9 kB / 1.243 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.9162, allocations: 1.041 MB / 1.244 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004609/0.9167, allocations: 442.5 kB / 1.244 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.9178, allocations: 0.8551 MB / 1.245 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004152/0.922, allocations: 2.58 MB / 1.248 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.922, allocations: 0 / 1.248 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.922, allocations: 4 kB / 1.248 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.785e-05/0.922, allocations: 0 / 1.248 GB, free: 1.359 MB / 0.9669 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.003783/0.9258, allocations: 2.014 MB / 1.25 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.9259, allocations: 12.92 kB / 1.25 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/0.9294, allocations: 0.5685 MB / 1.25 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.9321, allocations: 1.399 MB / 1.252 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.9323, allocations: 119.7 kB / 1.252 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.9324, allocations: 96 kB / 1.252 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.9354, allocations: 1.35 MB / 1.253 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.9355, allocations: 11.92 kB / 1.253 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.9356, allocations: 40 kB / 1.253 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.9356, allocations: 24 kB / 1.253 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/0.9393, allocations: 1.429 MB / 1.255 GB, free: 10.15 MB / 0.9825 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.008541/0.9479, allocations: 5.362 MB / 1.26 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.9508, allocations: 1.071 MB / 1.261 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.9524, allocations: 0.6047 MB / 1.261 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008207/0.9532, allocations: 1.069 MB / 1.262 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001748/0.955, allocations: 0.6744 MB / 1.263 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=60): time 3.396e-06/0.955, allocations: 4 kB / 1.263 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60): time 0.005059/0.9601, allocations: 1.75 MB / 1.265 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.9601, allocations: 63.84 kB / 1.265 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.9622, allocations: 1.413 MB / 1.266 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.733e-05/0.9623, allocations: 41.7 kB / 1.266 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005712/0.9628, allocations: 0.6463 MB / 1.267 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.9631, allocations: 209 kB / 1.267 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/0.9634, allocations: 166.4 kB / 1.267 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.9635, allocations: 330 kB / 1.268 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.9651, allocations: 0.5562 MB / 1.268 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.9668, allocations: 0.7497 MB / 1.269 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.9699, allocations: 1.189 MB / 1.27 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.97, allocations: 4 kB / 1.27 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003846/0.9738, allocations: 1.436 MB / 1.271 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.9739, allocations: 11.94 kB / 1.271 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.9739, allocations: 4 kB / 1.271 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.9739, allocations: 8 kB / 1.271 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.9752, allocations: 252 kB / 1.272 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.9752, allocations: 8 kB / 1.272 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.9767, allocations: 191 kB / 1.272 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.358e-05/0.9768, allocations: 43.91 kB / 1.272 GB, free: 7.602 MB / 0.9981 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.0006353/0.9774, allocations: 361.5 kB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.9777, allocations: 146.2 kB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.9814, allocations: 1.418 MB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.9815, allocations: 11.98 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9815, allocations: 0 / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003157/0.9847, allocations: 1.259 MB / 1.275 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006117/0.9908, allocations: 2.957 MB / 1.278 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.9908, allocations: 4 kB / 1.278 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.992, allocations: 215.8 kB / 1.278 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.992, allocations: 7.984 kB / 1.278 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.9921, allocations: 23.97 kB / 1.278 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.9921, allocations: 8 kB / 1.278 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9921, allocations: 0 / 1.278 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.9975, allocations: 2.23 MB / 1.28 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/0.9983, allocations: 355 kB / 1.281 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.9985, allocations: 16 kB / 1.281 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.9998, allocations: 119.9 kB / 1.281 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1, allocations: 56.38 kB / 1.281 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-05/1, allocations: 31.97 kB / 1.281 GB, free: 14.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001417/1.001, allocations: 0.9947 MB / 1.282 GB, free: 13.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.001, allocations: 0 / 1.282 GB, free: 13.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001363/1.003, allocations: 463.4 kB / 1.282 GB, free: 12.76 MB / 1.014 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.0009734/1.004, allocations: 445.9 kB / 1.283 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003513/1.007, allocations: 1.289 MB / 1.284 GB, free: 11.03 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.007, allocations: 0 / 1.284 GB, free: 11.03 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/1.009, allocations: 0.6597 MB / 1.285 GB, free: 10.37 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/1.012, allocations: 0.7643 MB / 1.285 GB, free: 9.621 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/1.017, allocations: 2.687 MB / 1.288 GB, free: 6.871 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/1.018, allocations: 1.217 MB / 1.289 GB, free: 5.625 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/1.018, allocations: 135.4 kB / 1.289 GB, free: 5.492 MB / 1.014 GB Notification: Performance of SimCode: time 8.41e-07/1.018, allocations: 4 kB / 1.289 GB, free: 5.488 MB / 1.014 GB Notification: Performance of Templates: time 0.03934/1.058, allocations: 26.55 MB / 1.315 GB, free: 11.11 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches