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.001859/0.00186, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001876/0.001876, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.469/1.469, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.722/2.722, allocations: 469.8 MB / 0.743 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 65.55 kB / 0.9092 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 159.1 MB / 1.065 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.6948/1.028, allocations: 74.73 MB / 1.138 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03838/1.067, allocations: 21.48 MB / 1.159 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005818/1.073, allocations: 104.9 kB / 1.159 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01253/1.085, allocations: 4.591 MB / 1.163 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01139/1.097, allocations: 3.083 MB / 1.166 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007726/1.105, allocations: 2.174 MB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01571/1.12, allocations: 7.972 MB / 1.176 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004321/1.125, allocations: 1.987 MB / 1.178 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006857/1.131, allocations: 2.142 MB / 1.18 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003893/1.135, allocations: 1.562 MB / 1.182 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009053/1.136, allocations: 213.4 kB / 1.182 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006306/1.143, allocations: 1.993 MB / 1.184 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/1.144, allocations: 0.7736 MB / 1.185 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003419/1.148, allocations: 1.4 MB / 1.186 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/1.158, allocations: 4.362 MB / 1.19 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/1.158, allocations: 0 / 1.19 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.104e-06/1.158, allocations: 0 / 1.19 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001393/1.158, allocations: 1 kB / 1.19 GB, free: 5.285 MB / 0.9044 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.009728/1.168, allocations: 3.195 MB / 1.193 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.168, allocations: 9.625 kB / 1.193 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007777/1.176, allocations: 1.143 MB / 1.194 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006979/1.183, allocations: 2.874 MB / 1.197 GB, free: 416 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001156/1.184, allocations: 321.5 kB / 1.198 GB, free: 252 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000474/1.184, allocations: 128.3 kB / 1.198 GB, free: 212 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0053/1.19, allocations: 1.947 MB / 1.2 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/1.19, allocations: 3.938 kB / 1.2 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/1.19, allocations: 52 kB / 1.2 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/1.19, allocations: 32 kB / 1.2 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006968/1.197, allocations: 2.086 MB / 1.202 GB, free: 12.51 MB / 0.92 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.0181/1.215, allocations: 8.566 MB / 1.21 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005752/1.221, allocations: 1.653 MB / 1.212 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002472/1.223, allocations: 0.7441 MB / 1.212 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007532/1.231, allocations: 3.855 MB / 1.216 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/1.231, allocations: 39.12 kB / 1.216 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001302/1.232, allocations: 122.8 kB / 1.216 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 4.248e-06/1.232, allocations: 0 / 1.216 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.0149/1.247, allocations: 3.093 MB / 1.219 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/1.247, allocations: 55.97 kB / 1.219 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005206/1.253, allocations: 2.645 MB / 1.222 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002981/1.253, allocations: 41.7 kB / 1.222 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/1.254, allocations: 1.111 MB / 1.223 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/1.254, allocations: 209.1 kB / 1.223 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006379/1.255, allocations: 334.5 kB / 1.224 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.255, allocations: 309 kB / 1.224 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/1.258, allocations: 0.9284 MB / 1.225 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/1.261, allocations: 1.371 MB / 1.226 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005445/1.267, allocations: 2.026 MB / 1.228 GB, free: 220 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.267, allocations: 0 / 1.228 GB, free: 220 kB / 0.9356 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01124/1.278, allocations: 2.767 MB / 1.231 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/1.278, allocations: 9.875 kB / 1.231 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/1.278, allocations: 12 kB / 1.231 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/1.28, allocations: 0.5088 MB / 1.231 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/1.283, allocations: 383.3 kB / 1.232 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003777/1.287, allocations: 1.13 MB / 1.233 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/1.292, allocations: 236.8 kB / 1.233 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/1.292, allocations: 75.95 kB / 1.233 GB, free: 11.07 MB / 0.9512 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.00185/1.294, allocations: 0.5537 MB / 1.234 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.295, allocations: 244.8 kB / 1.234 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.306, allocations: 2.12 MB / 1.236 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.306, allocations: 11.98 kB / 1.236 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.306, allocations: 0 / 1.236 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/1.306, allocations: 8 kB / 1.236 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.323, allocations: 4.11 MB / 1.24 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.323, allocations: 4 kB / 1.24 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.324, allocations: 208 kB / 1.24 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/1.326, allocations: 0.4926 MB / 1.241 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.326, allocations: 27.97 kB / 1.241 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/1.328, allocations: 1.11 MB / 1.242 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.328, allocations: 7.938 kB / 1.242 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00818/1.336, allocations: 2.197 MB / 1.244 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/1.338, allocations: 493.7 kB / 1.244 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006156/1.339, allocations: 16 kB / 1.244 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/1.341, allocations: 171.7 kB / 1.245 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/1.341, allocations: 52.44 kB / 1.245 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.341, allocations: 43.89 kB / 1.245 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003479/1.345, allocations: 1.827 MB / 1.246 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.5e-07/1.345, allocations: 0 / 1.246 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003345/1.348, allocations: 0.7373 MB / 1.247 GB, free: 12.41 MB / 0.9669 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.001905/1.35, allocations: 0.6903 MB / 1.248 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007106/1.357, allocations: 2.065 MB / 1.25 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/1.357, allocations: 4.125 kB / 1.25 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003201/1.36, allocations: 0.8507 MB / 1.251 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006377/1.367, allocations: 1.172 MB / 1.252 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009775/1.377, allocations: 4.306 MB / 1.256 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/1.378, allocations: 1.625 MB / 1.258 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.379, allocations: 199.3 kB / 1.258 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of SimCode: time 1.163e-06/1.379, allocations: 4 kB / 1.258 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of Templates: time 0.08599/1.465, allocations: 52.39 MB / 1.309 GB, free: 13.37 MB / 1.029 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches