Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001466/0.001466, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001653/0.001653, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.647/1.647, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.429/3.429, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.634e-05/3.914e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.09801/0.09805, allocations: 68.42 MB / 0.9444 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.04375/0.1418, allocations: 20.93 MB / 0.9648 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005773/0.1476, allocations: 138.9 kB / 0.965 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.008326/0.1559, allocations: 2.219 MB / 0.9671 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.1691, allocations: 3.489 MB / 0.9705 GB, free: 7.023 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.009921/0.179, allocations: 2.734 MB / 0.9732 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01773/0.1968, allocations: 9.074 MB / 0.9821 GB, free: 11.2 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004666/0.2014, allocations: 1.655 MB / 0.9837 GB, free: 9.496 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01256/0.214, allocations: 3.586 MB / 0.9872 GB, free: 5.926 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/0.218, allocations: 1.382 MB / 0.9885 GB, free: 4.543 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.2191, allocations: 212 kB / 0.9887 GB, free: 4.336 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0056/0.2247, allocations: 1.427 MB / 0.9901 GB, free: 2.906 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.2268, allocations: 0.8368 MB / 0.991 GB, free: 2.066 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.003595/0.2304, allocations: 0.9156 MB / 0.9918 GB, free: 1.148 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.2417, allocations: 4.311 MB / 0.9961 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.2417, allocations: 0 / 0.9961 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2417, allocations: 0 / 0.9961 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000173/0.2418, allocations: 0 / 0.9961 GB, free: 12.82 MB / 0.9636 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.009556/0.2514, allocations: 3.21 MB / 0.9992 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.2515, allocations: 12.03 kB / 0.9992 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007729/0.2592, allocations: 1.29 MB / 1 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008774/0.268, allocations: 3.339 MB / 1.004 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.2683, allocations: 181.9 kB / 1.004 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003071/0.2686, allocations: 136 kB / 1.004 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005287/0.2738, allocations: 1.997 MB / 1.006 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.2739, allocations: 4 kB / 1.006 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.2741, allocations: 52 kB / 1.006 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.2741, allocations: 28 kB / 1.006 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006469/0.2806, allocations: 1.98 MB / 1.008 GB, free: 364 kB / 0.9636 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.0169/0.2975, allocations: 6.348 MB / 1.014 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005817/0.3033, allocations: 1.498 MB / 1.016 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/0.3056, allocations: 0.6702 MB / 1.016 GB, free: 7.676 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007202/0.3128, allocations: 2.313 MB / 1.019 GB, free: 5.34 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.227e-05/0.3129, allocations: 43.06 kB / 1.019 GB, free: 5.285 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001347/0.3142, allocations: 111.4 kB / 1.019 GB, free: 5.176 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=57): time 6.803e-06/0.3142, allocations: 0 / 1.019 GB, free: 5.176 MB / 0.9792 GB Notification: Performance of matching and sorting (n=57): time 0.01451/0.3287, allocations: 2.896 MB / 1.022 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.3288, allocations: 55.91 kB / 1.022 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007325/0.3361, allocations: 2.377 MB / 1.024 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003096/0.3365, allocations: 45.69 kB / 1.024 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001746/0.3382, allocations: 1.214 MB / 1.025 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000517/0.3387, allocations: 206.2 kB / 1.025 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00086/0.3396, allocations: 258.7 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002703/0.3398, allocations: 341.9 kB / 1.026 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/0.3423, allocations: 0.7013 MB / 1.027 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003348/0.3456, allocations: 1.477 MB / 1.028 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005406/0.351, allocations: 1.742 MB / 1.03 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/0.3511, allocations: 4 kB / 1.03 GB, free: 9.328 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.008277/0.3593, allocations: 2.359 MB / 1.032 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.3594, allocations: 12.62 kB / 1.032 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-05/0.3594, allocations: 16 kB / 1.032 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.361, allocations: 0.516 MB / 1.033 GB, free: 6.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.3627, allocations: 339.4 kB / 1.033 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.3655, allocations: 1.134 MB / 1.034 GB, free: 4.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.3681, allocations: 195.9 kB / 1.034 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.3684, allocations: 71.95 kB / 1.034 GB, free: 4.656 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (130): * Single equations (assignments): 128 * 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.001531/0.3699, allocations: 0.5637 MB / 1.035 GB, free: 4.082 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009795/0.3709, allocations: 258.4 kB / 1.035 GB, free: 3.828 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008016/0.3789, allocations: 2.046 MB / 1.037 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.3789, allocations: 8 kB / 1.037 GB, free: 1.77 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.3789, allocations: 4 kB / 1.037 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3789, allocations: 3.984 kB / 1.037 GB, free: 1.762 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.3913, allocations: 3.527 MB / 1.041 GB, free: 14.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.3913, allocations: 0 / 1.041 GB, free: 14.16 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.3925, allocations: 196 kB / 1.041 GB, free: 13.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.3939, allocations: 0.4964 MB / 1.041 GB, free: 13.46 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.394, allocations: 27.97 kB / 1.041 GB, free: 13.44 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.3967, allocations: 1.107 MB / 1.042 GB, free: 12.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.3967, allocations: 3.984 kB / 1.042 GB, free: 12.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008514/0.4052, allocations: 2.13 MB / 1.044 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/0.4071, allocations: 390.1 kB / 1.045 GB, free: 9.734 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007829/0.4078, allocations: 19.94 kB / 1.045 GB, free: 9.715 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/0.4101, allocations: 139.8 kB / 1.045 GB, free: 9.578 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.4102, allocations: 56.34 kB / 1.045 GB, free: 9.523 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.4104, allocations: 39.95 kB / 1.045 GB, free: 9.484 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004049/0.4144, allocations: 1.62 MB / 1.047 GB, free: 7.859 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.4144, allocations: 4 kB / 1.047 GB, free: 7.855 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003048/0.4175, allocations: 0.6703 MB / 1.047 GB, free: 7.184 MB / 1.01 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.001534/0.419, allocations: 0.5127 MB / 1.048 GB, free: 6.664 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006375/0.4254, allocations: 1.672 MB / 1.049 GB, free: 4.992 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.4254, allocations: 4 kB / 1.049 GB, free: 4.988 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/0.4287, allocations: 0.7816 MB / 1.05 GB, free: 4.203 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006312/0.435, allocations: 1.112 MB / 1.051 GB, free: 3.109 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4764/0.9114, allocations: 4.256 MB / 1.055 GB, free: 210.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.9126, allocations: 1.08 MB / 1.056 GB, free: 210.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00228/0.9149, allocations: 464.2 kB / 1.057 GB, free: 210.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/0.9155, allocations: 188 kB / 1.057 GB, free: 210.1 MB / 1.01 GB Notification: Performance of SimCode: time 2.054e-06/0.9155, allocations: 2.906 kB / 1.057 GB, free: 210.1 MB / 1.01 GB Notification: Performance of Templates: time 0.0915/1.007, allocations: 46.3 MB / 1.102 GB, free: 200.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.33134685701225]