Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007267/0.007267, allocations: 96.34 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.001982/0.001982, allocations: 195.8 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.922/2.922, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3533, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.8746/1.228, allocations: 74.88 MB / 1.294 GB, free: 10.57 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04098/1.269, allocations: 21.52 MB / 1.315 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006975/1.276, allocations: 96.28 kB / 1.315 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01077/1.287, allocations: 2.206 MB / 1.317 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.015/1.302, allocations: 3.33 MB / 1.32 GB, free: 8.258 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009829/1.311, allocations: 2.248 MB / 1.322 GB, free: 7.102 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01835/1.33, allocations: 8.104 MB / 1.33 GB, free: 3.883 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004356/1.334, allocations: 1.656 MB / 1.332 GB, free: 3.031 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008197/1.342, allocations: 2.227 MB / 1.334 GB, free: 1.961 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004935/1.347, allocations: 1.585 MB / 1.336 GB, free: 1.199 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001047/1.348, allocations: 219.8 kB / 1.336 GB, free: 1.195 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008012/1.356, allocations: 1.998 MB / 1.338 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001993/1.358, allocations: 0.8095 MB / 1.339 GB, free: 96 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004583/1.363, allocations: 1.414 MB / 1.34 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/1.377, allocations: 4.478 MB / 1.344 GB, free: 12.81 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.377, allocations: 0 / 1.344 GB, free: 12.81 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.933e-06/1.377, allocations: 1.219 kB / 1.344 GB, free: 12.81 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001373/1.377, allocations: 0 / 1.344 GB, free: 12.81 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.009498/1.386, allocations: 3.313 MB / 1.348 GB, free: 10.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.386, allocations: 9.5 kB / 1.348 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007382/1.394, allocations: 1.16 MB / 1.349 GB, free: 9.801 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007497/1.401, allocations: 3.008 MB / 1.352 GB, free: 7.727 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/1.401, allocations: 153.1 kB / 1.352 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/1.402, allocations: 132.8 kB / 1.352 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/1.406, allocations: 1.928 MB / 1.354 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/1.406, allocations: 0 / 1.354 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/1.407, allocations: 52.06 kB / 1.354 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/1.407, allocations: 34.48 kB / 1.354 GB, free: 6.383 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005883/1.413, allocations: 2.059 MB / 1.356 GB, free: 5.402 MB / 1.045 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.01678/1.429, allocations: 8.518 MB / 1.364 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004926/1.434, allocations: 1.574 MB / 1.366 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/1.436, allocations: 0.6987 MB / 1.366 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007232/1.444, allocations: 3.859 MB / 1.37 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/1.444, allocations: 42.34 kB / 1.37 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001318/1.445, allocations: 115.4 kB / 1.37 GB, free: 9.754 MB / 1.061 GB Notification: Performance of pre-optimization done (n=57): time 4.478e-06/1.445, allocations: 0 / 1.37 GB, free: 9.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=57): time 0.01402/1.459, allocations: 3.078 MB / 1.373 GB, free: 8.215 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/1.459, allocations: 69.42 kB / 1.373 GB, free: 8.141 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/1.465, allocations: 2.656 MB / 1.376 GB, free: 6.727 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003402/1.465, allocations: 38.55 kB / 1.376 GB, free: 6.688 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.466, allocations: 1.114 MB / 1.377 GB, free: 5.707 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/1.466, allocations: 218.3 kB / 1.377 GB, free: 5.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005874/1.467, allocations: 339.7 kB / 1.378 GB, free: 5.324 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.467, allocations: 307.6 kB / 1.378 GB, free: 5.023 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/1.47, allocations: 0.9135 MB / 1.379 GB, free: 4.594 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002809/1.472, allocations: 1.345 MB / 1.38 GB, free: 3.625 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004544/1.477, allocations: 2.002 MB / 1.382 GB, free: 1.695 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.477, allocations: 4 kB / 1.382 GB, free: 1.691 MB / 1.061 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007817/1.485, allocations: 2.745 MB / 1.385 GB, free: 14.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/1.485, allocations: 11.98 kB / 1.385 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/1.485, allocations: 12 kB / 1.385 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/1.486, allocations: 0.5123 MB / 1.385 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/1.488, allocations: 371.5 kB / 1.386 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/1.49, allocations: 1.13 MB / 1.387 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/1.493, allocations: 220.6 kB / 1.387 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/1.494, allocations: 75.95 kB / 1.387 GB, free: 12.59 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001283/1.495, allocations: 0.5521 MB / 1.388 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007328/1.496, allocations: 254.2 kB / 1.388 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006327/1.502, allocations: 2.09 MB / 1.39 GB, free: 9.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/1.502, allocations: 12 kB / 1.39 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/1.502, allocations: 3.984 kB / 1.39 GB, free: 9.664 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/1.502, allocations: 4.812 kB / 1.39 GB, free: 9.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/1.513, allocations: 4.099 MB / 1.394 GB, free: 5.449 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.513, allocations: 4 kB / 1.394 GB, free: 5.445 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.514, allocations: 195.8 kB / 1.394 GB, free: 5.254 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/1.515, allocations: 0.4964 MB / 1.395 GB, free: 4.754 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/1.515, allocations: 24.97 kB / 1.395 GB, free: 4.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/1.517, allocations: 1.111 MB / 1.396 GB, free: 3.594 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.517, allocations: 7.875 kB / 1.396 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007489/1.525, allocations: 2.186 MB / 1.398 GB, free: 1.348 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.527, allocations: 0.4952 MB / 1.398 GB, free: 0.832 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007483/1.527, allocations: 16 kB / 1.398 GB, free: 0.8164 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.529, allocations: 167.8 kB / 1.399 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/1.53, allocations: 56.38 kB / 1.399 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.53, allocations: 43.95 kB / 1.399 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003961/1.534, allocations: 1.835 MB / 1.4 GB, free: 14.71 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.534, allocations: 0 / 1.4 GB, free: 14.71 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003783/1.537, allocations: 0.7446 MB / 1.401 GB, free: 13.97 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00194/1.539, allocations: 0.7034 MB / 1.402 GB, free: 13.27 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006385/1.546, allocations: 1.92 MB / 1.404 GB, free: 11.35 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.546, allocations: 0 / 1.404 GB, free: 11.35 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002766/1.549, allocations: 0.8198 MB / 1.405 GB, free: 10.52 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005936/1.554, allocations: 1.156 MB / 1.406 GB, free: 9.395 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008856/1.563, allocations: 4.184 MB / 1.41 GB, free: 5.141 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/1.565, allocations: 1.636 MB / 1.411 GB, free: 3.469 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002322/1.567, allocations: 468.1 kB / 1.412 GB, free: 3.016 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006208/1.568, allocations: 191.3 kB / 1.412 GB, free: 2.828 MB / 1.092 GB Notification: Performance of SimCode: time 1.193e-06/1.568, allocations: 4 kB / 1.412 GB, free: 2.824 MB / 1.092 GB Notification: Performance of Templates: time 0.0836/1.651, allocations: 47.87 MB / 1.459 GB, free: 3.578 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches