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.001364/0.001364, allocations: 109.5 kB / 19.73 MB, free: 2.238 MB / 14.72 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.001724/0.001724, allocations: 220 kB / 23.04 MB, free: 5.078 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.7 MB / 0.7715 GB, free: 4.344 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 62.36 kB / 1.118 GB, free: 40.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.325, allocations: 170 MB / 1.284 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.08789/0.4129, allocations: 76.3 MB / 1.359 GB, free: 15.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03887/0.4517, allocations: 21.66 MB / 1.38 GB, free: 9.566 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004756/0.4565, allocations: 138.9 kB / 1.38 GB, free: 9.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.007362/0.4639, allocations: 2.271 MB / 1.382 GB, free: 7.148 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.4754, allocations: 3.394 MB / 1.385 GB, free: 3.742 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007521/0.4829, allocations: 2.362 MB / 1.388 GB, free: 1.395 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01583/0.4987, allocations: 8.262 MB / 1.396 GB, free: 9.113 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00386/0.5026, allocations: 1.611 MB / 1.397 GB, free: 7.449 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006728/0.5093, allocations: 2.269 MB / 1.4 GB, free: 5.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00364/0.5129, allocations: 1.681 MB / 1.401 GB, free: 3.492 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006344/0.5136, allocations: 219.9 kB / 1.401 GB, free: 3.277 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005379/0.519, allocations: 2.184 MB / 1.404 GB, free: 1.09 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.5201, allocations: 0.8134 MB / 1.404 GB, free: 280 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002461/0.5225, allocations: 1.411 MB / 1.406 GB, free: 14.85 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.009178/0.5317, allocations: 4.573 MB / 1.41 GB, free: 10.27 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.5317, allocations: 0 / 1.41 GB, free: 10.27 MB / 1.108 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5317, allocations: 4 kB / 1.41 GB, free: 10.26 MB / 1.108 GB Notification: Performance of Transformations before backend: time 9.357e-05/0.5318, allocations: 0 / 1.41 GB, free: 10.26 MB / 1.108 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.008555/0.5404, allocations: 3.227 MB / 1.413 GB, free: 6.98 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001038/0.5405, allocations: 8.031 kB / 1.413 GB, free: 6.973 MB / 1.108 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.694e-05/0.5405, allocations: 30.41 kB / 1.413 GB, free: 6.941 MB / 1.108 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002756/0.5408, allocations: 197.9 kB / 1.414 GB, free: 6.738 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007123/0.5479, allocations: 1.157 MB / 1.415 GB, free: 5.578 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006679/0.5546, allocations: 2.934 MB / 1.418 GB, free: 2.566 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.5548, allocations: 177.9 kB / 1.418 GB, free: 2.379 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.5551, allocations: 128 kB / 1.418 GB, free: 2.254 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005071/0.5602, allocations: 1.943 MB / 1.42 GB, free: 244 kB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.5602, allocations: 0 / 1.42 GB, free: 244 kB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.5604, allocations: 59.88 kB / 1.42 GB, free: 184 kB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.5604, allocations: 32 kB / 1.42 GB, free: 152 kB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006282/0.5667, allocations: 2.066 MB / 1.422 GB, free: 14.07 MB / 1.123 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.01742/0.5841, allocations: 8.367 MB / 1.43 GB, free: 5.254 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005349/0.5894, allocations: 1.582 MB / 1.432 GB, free: 3.668 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.5917, allocations: 0.7054 MB / 1.432 GB, free: 2.957 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006196/0.5979, allocations: 2.733 MB / 1.435 GB, free: 208 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.598, allocations: 47 kB / 1.435 GB, free: 152 kB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001003/0.599, allocations: 131.1 kB / 1.435 GB, free: 20 kB / 1.123 GB Notification: Performance of pre-optimization done (n=57): time 3.547e-06/0.599, allocations: 0 / 1.435 GB, free: 20 kB / 1.123 GB Notification: Performance of matching and sorting (n=57): time 0.01376/0.6127, allocations: 2.998 MB / 1.438 GB, free: 13.01 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.6128, allocations: 59.84 kB / 1.438 GB, free: 12.94 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/0.6176, allocations: 2.673 MB / 1.441 GB, free: 10.25 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.6178, allocations: 37.7 kB / 1.441 GB, free: 10.21 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.6189, allocations: 1.108 MB / 1.442 GB, free: 9.09 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.6193, allocations: 222.2 kB / 1.442 GB, free: 8.871 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006/0.6199, allocations: 346.6 kB / 1.442 GB, free: 8.527 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.62, allocations: 305.1 kB / 1.443 GB, free: 8.227 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/0.6226, allocations: 0.9128 MB / 1.444 GB, free: 7.316 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003158/0.6258, allocations: 1.343 MB / 1.445 GB, free: 5.797 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005046/0.6308, allocations: 2.019 MB / 1.447 GB, free: 3.625 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.6308, allocations: 4 kB / 1.447 GB, free: 3.621 MB / 1.139 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.008263/0.6391, allocations: 2.747 MB / 1.45 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.6391, allocations: 16.09 kB / 1.45 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.6391, allocations: 8 kB / 1.45 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.6407, allocations: 0.5159 MB / 1.45 GB, free: 332 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.6424, allocations: 367.5 kB / 1.45 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.6451, allocations: 1.126 MB / 1.452 GB, free: 14.81 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.6479, allocations: 211.8 kB / 1.452 GB, free: 14.61 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.6482, allocations: 76.03 kB / 1.452 GB, free: 14.53 MB / 1.154 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.001228/0.6494, allocations: 0.5597 MB / 1.452 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006574/0.6501, allocations: 250.3 kB / 1.453 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006975/0.657, allocations: 2.113 MB / 1.455 GB, free: 11.59 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.6571, allocations: 12 kB / 1.455 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.6571, allocations: 0 / 1.455 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6571, allocations: 7.984 kB / 1.455 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.6691, allocations: 4.072 MB / 1.459 GB, free: 7.398 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.6691, allocations: 8.281 kB / 1.459 GB, free: 7.391 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.6702, allocations: 203.7 kB / 1.459 GB, free: 7.191 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.6715, allocations: 0.4964 MB / 1.459 GB, free: 6.691 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.6716, allocations: 23.97 kB / 1.459 GB, free: 6.668 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.6741, allocations: 1.114 MB / 1.46 GB, free: 5.527 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.6741, allocations: 7.938 kB / 1.46 GB, free: 5.52 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/0.6818, allocations: 2.191 MB / 1.463 GB, free: 3.27 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.6833, allocations: 430 kB / 1.463 GB, free: 2.848 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006925/0.684, allocations: 15.95 kB / 1.463 GB, free: 2.832 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/0.6862, allocations: 167.8 kB / 1.463 GB, free: 2.668 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.6864, allocations: 56.28 kB / 1.463 GB, free: 2.613 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/0.6865, allocations: 43.95 kB / 1.463 GB, free: 2.57 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003893/0.6904, allocations: 1.827 MB / 1.465 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6904, allocations: 4 kB / 1.465 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002851/0.6933, allocations: 0.7525 MB / 1.466 GB, free: 15.98 MB / 1.17 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.009875/0.7031, allocations: 3.318 MB / 1.469 GB, free: 12.61 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006597/0.7097, allocations: 1.932 MB / 1.471 GB, free: 10.68 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.7097, allocations: 3.984 kB / 1.471 GB, free: 10.67 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003122/0.7129, allocations: 0.8237 MB / 1.472 GB, free: 9.852 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006573/0.7194, allocations: 1.153 MB / 1.473 GB, free: 8.719 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05753/0.777, allocations: 20.07 MB / 1.492 GB, free: 4.074 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/0.7789, allocations: 1.637 MB / 1.494 GB, free: 2.402 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002307/0.7812, allocations: 461.6 kB / 1.495 GB, free: 1.953 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/0.7831, allocations: 0.9913 MB / 1.495 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/0.7831, allocations: 0 / 1.495 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/0.9193, allocations: 67.84 MB / 1.562 GB, free: 13.98 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/19.78, allocations: 15.16 kB / 1.562 GB, free: 13.96 MB / 1.264 GB " [Timeout remaining time 279] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 26.825702522008214]