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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007104/0.0007104, allocations: 80.53 kB / 19.93 MB, free: 4.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007847/0.0007847, allocations: 181.2 kB / 23.22 MB, free: 1.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8602/0.8602, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.615/1.615, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.975e-06/2.975e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.142e-05, allocations: 6.281 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.04413/0.04416, allocations: 68.19 MB / 1.018 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0215/0.06566, allocations: 19.98 MB / 1.038 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004854/0.07052, allocations: 134.9 kB / 1.038 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.006108/0.07662, allocations: 2.2 MB / 1.04 GB, free: 8.191 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006863/0.08349, allocations: 3.469 MB / 1.043 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.088, allocations: 2.39 MB / 1.046 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.5086/0.5966, allocations: 9.197 MB / 1.055 GB, free: 56.09 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/0.599, allocations: 1.617 MB / 1.056 GB, free: 55.97 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.6041, allocations: 3.016 MB / 1.059 GB, free: 55.88 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.6056, allocations: 1.392 MB / 1.061 GB, free: 55.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.6058, allocations: 206.4 kB / 1.061 GB, free: 55.7 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.6083, allocations: 1.433 MB / 1.062 GB, free: 55.62 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005076/0.6088, allocations: 0.8143 MB / 1.063 GB, free: 55.47 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009289/0.6098, allocations: 0.8933 MB / 1.064 GB, free: 55.35 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004921/0.6147, allocations: 4.249 MB / 1.068 GB, free: 55.06 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6147, allocations: 0 / 1.068 GB, free: 55.06 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6147, allocations: 0 / 1.068 GB, free: 55.06 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.478e-05/0.6147, allocations: 0 / 1.068 GB, free: 55.06 MB / 0.9948 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.004/0.6187, allocations: 3.145 MB / 1.071 GB, free: 53.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.6188, allocations: 10.62 kB / 1.071 GB, free: 53.48 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.6218, allocations: 1.161 MB / 1.072 GB, free: 53.27 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/0.6252, allocations: 3.101 MB / 1.075 GB, free: 52.64 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.6253, allocations: 174.3 kB / 1.076 GB, free: 52.57 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.6255, allocations: 130.2 kB / 1.076 GB, free: 52.57 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/0.6281, allocations: 2.045 MB / 1.078 GB, free: 52.23 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.6282, allocations: 4.656 kB / 1.078 GB, free: 52.23 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.6283, allocations: 49.91 kB / 1.078 GB, free: 52.23 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/0.6283, allocations: 30.19 kB / 1.078 GB, free: 52.23 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003508/0.6318, allocations: 2.065 MB / 1.08 GB, free: 52.17 MB / 0.9948 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.008058/0.6399, allocations: 6.35 MB / 1.086 GB, free: 50.23 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.6429, allocations: 1.58 MB / 1.087 GB, free: 50.17 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.6443, allocations: 0.704 MB / 1.088 GB, free: 50.14 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004101/0.6484, allocations: 2.337 MB / 1.09 GB, free: 49.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.6485, allocations: 42.5 kB / 1.09 GB, free: 49.77 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004827/0.649, allocations: 91.91 kB / 1.091 GB, free: 49.73 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=57): time 3.597e-06/0.649, allocations: 3.938 kB / 1.091 GB, free: 49.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=57): time 0.006934/0.6559, allocations: 2.988 MB / 1.093 GB, free: 49.47 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.6559, allocations: 58.06 kB / 1.094 GB, free: 49.41 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.6586, allocations: 2.315 MB / 1.096 GB, free: 48.89 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.6586, allocations: 38.36 kB / 1.096 GB, free: 48.85 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/0.6593, allocations: 1.191 MB / 1.097 GB, free: 47.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.6594, allocations: 207.4 kB / 1.097 GB, free: 47.75 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.6597, allocations: 229.2 kB / 1.097 GB, free: 47.65 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.6598, allocations: 343.2 kB / 1.098 GB, free: 47.33 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.661, allocations: 0.7212 MB / 1.098 GB, free: 47.13 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.6625, allocations: 1.376 MB / 1.1 GB, free: 46.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.665, allocations: 1.655 MB / 1.101 GB, free: 45.33 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.665, allocations: 3.25 kB / 1.101 GB, free: 45.33 MB / 0.9948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004082/0.6691, allocations: 2.259 MB / 1.104 GB, free: 44.66 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.6691, allocations: 13.06 kB / 1.104 GB, free: 44.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.6691, allocations: 15.38 kB / 1.104 GB, free: 44.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009495/0.6701, allocations: 0.5042 MB / 1.104 GB, free: 44.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/0.6709, allocations: 314.5 kB / 1.104 GB, free: 44.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.6722, allocations: 1.129 MB / 1.106 GB, free: 43.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.6741, allocations: 194.5 kB / 1.106 GB, free: 43.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.6743, allocations: 67.61 kB / 1.106 GB, free: 43.8 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (112): * Single equations (assignments): 110 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.001218/0.6755, allocations: 0.5547 MB / 1.106 GB, free: 43.46 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004571/0.676, allocations: 232.1 kB / 1.107 GB, free: 43.34 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.6799, allocations: 2.115 MB / 1.109 GB, free: 42.71 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.6799, allocations: 8.172 kB / 1.109 GB, free: 42.71 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6799, allocations: 4.734 kB / 1.109 GB, free: 42.71 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.6799, allocations: 8.641 kB / 1.109 GB, free: 42.71 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006604/0.6866, allocations: 3.63 MB / 1.112 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.6866, allocations: 4.094 kB / 1.112 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/0.6871, allocations: 200 kB / 1.112 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000816/0.688, allocations: 0.4904 MB / 1.113 GB, free: 41.15 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-05/0.688, allocations: 31.44 kB / 1.113 GB, free: 41.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.6894, allocations: 1.111 MB / 1.114 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6894, allocations: 3.375 kB / 1.114 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004634/0.694, allocations: 2.166 MB / 1.116 GB, free: 39.62 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.6951, allocations: 382.5 kB / 1.116 GB, free: 39.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.6953, allocations: 23.81 kB / 1.116 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000888/0.6962, allocations: 153.6 kB / 1.117 GB, free: 39.37 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.6963, allocations: 58.98 kB / 1.117 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/0.6964, allocations: 43.58 kB / 1.117 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002386/0.6988, allocations: 1.591 MB / 1.118 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6988, allocations: 1.188 kB / 1.118 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002053/0.7009, allocations: 0.6665 MB / 1.119 GB, free: 38.59 MB / 0.9948 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.001161/0.702, allocations: 0.5147 MB / 1.119 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004157/0.7062, allocations: 1.693 MB / 1.121 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.7062, allocations: 0 / 1.121 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.7081, allocations: 0.8269 MB / 1.122 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004059/0.7121, allocations: 1.044 MB / 1.123 GB, free: 37.47 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007818/0.72, allocations: 4.256 MB / 1.127 GB, free: 35.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.7212, allocations: 1.057 MB / 1.128 GB, free: 35.11 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009222/0.7221, allocations: 198.1 kB / 1.128 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of SimCode: time 2.124e-06/0.7221, allocations: 1.094 kB / 1.128 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of Templates: time 0.06332/0.7854, allocations: 51.59 MB / 1.179 GB, free: 6.227 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.868423476815224]