Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001765/0.001765, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.002251/0.002251, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.426/3.426, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",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.002086/0.002086, allocations: 70.67 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4154, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.09292/0.5083, allocations: 76.41 MB / 1.401 GB, free: 5.211 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03677/0.5451, allocations: 21.69 MB / 1.422 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003795/0.5489, allocations: 130.9 kB / 1.422 GB, free: 15.32 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.007965/0.5568, allocations: 2.282 MB / 1.424 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.5682, allocations: 3.402 MB / 1.427 GB, free: 9.617 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.007476/0.5756, allocations: 2.379 MB / 1.43 GB, free: 7.254 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01426/0.5899, allocations: 8.062 MB / 1.438 GB, free: 15.18 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003769/0.5937, allocations: 1.623 MB / 1.439 GB, free: 13.5 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006624/0.6003, allocations: 2.455 MB / 1.442 GB, free: 11.04 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00442/0.6047, allocations: 1.653 MB / 1.443 GB, free: 9.383 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0009165/0.6056, allocations: 216 kB / 1.443 GB, free: 9.172 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006134/0.6118, allocations: 2.18 MB / 1.446 GB, free: 6.988 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.6133, allocations: 0.8135 MB / 1.446 GB, free: 6.172 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003209/0.6165, allocations: 1.415 MB / 1.448 GB, free: 4.75 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009869/0.6263, allocations: 4.581 MB / 1.452 GB, free: 156 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6264, allocations: 0 / 1.452 GB, free: 156 kB / 1.139 GB Notification: Performance of FrontEnd: time 2.394e-06/0.6264, allocations: 4 kB / 1.452 GB, free: 152 kB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001646/0.6265, allocations: 0 / 1.452 GB, free: 152 kB / 1.139 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.008897/0.6354, allocations: 3.234 MB / 1.455 GB, free: 12.86 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.6355, allocations: 8.031 kB / 1.455 GB, free: 12.85 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004928/0.636, allocations: 189.9 kB / 1.456 GB, free: 12.65 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0072/0.6432, allocations: 1.157 MB / 1.457 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007671/0.6508, allocations: 2.945 MB / 1.46 GB, free: 8.469 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/0.6511, allocations: 173.9 kB / 1.46 GB, free: 8.285 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000495/0.6516, allocations: 132 kB / 1.46 GB, free: 8.156 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005442/0.6571, allocations: 1.936 MB / 1.462 GB, free: 6.148 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.6571, allocations: 7.875 kB / 1.462 GB, free: 6.141 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.6573, allocations: 48 kB / 1.462 GB, free: 6.094 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.6573, allocations: 32 kB / 1.462 GB, free: 6.062 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006184/0.6635, allocations: 2.07 MB / 1.464 GB, free: 3.984 MB / 1.154 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.01749/0.681, allocations: 8.489 MB / 1.472 GB, free: 11.02 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005244/0.6863, allocations: 1.584 MB / 1.474 GB, free: 9.422 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/0.6885, allocations: 0.7054 MB / 1.474 GB, free: 8.715 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006708/0.6952, allocations: 2.733 MB / 1.477 GB, free: 5.957 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.6952, allocations: 39.06 kB / 1.477 GB, free: 5.91 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000986/0.6962, allocations: 135 kB / 1.477 GB, free: 5.777 MB / 1.17 GB Notification: Performance of pre-optimization done (n=57): time 2.815e-06/0.6962, allocations: 0 / 1.477 GB, free: 5.777 MB / 1.17 GB Notification: Performance of matching and sorting (n=57): time 0.01347/0.7097, allocations: 3.002 MB / 1.48 GB, free: 2.766 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.7097, allocations: 59.91 kB / 1.48 GB, free: 2.695 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005204/0.715, allocations: 2.658 MB / 1.483 GB, free: 24 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.7152, allocations: 53.58 kB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.7165, allocations: 1.12 MB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003995/0.7169, allocations: 214.2 kB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007424/0.7176, allocations: 338.6 kB / 1.484 GB, free: 14.29 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7178, allocations: 313.1 kB / 1.485 GB, free: 13.98 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/0.7203, allocations: 0.9167 MB / 1.486 GB, free: 13.07 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/0.7233, allocations: 1.339 MB / 1.487 GB, free: 11.55 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004912/0.7282, allocations: 2.015 MB / 1.489 GB, free: 9.379 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.7282, allocations: 7.984 kB / 1.489 GB, free: 9.371 MB / 1.186 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.008608/0.7368, allocations: 2.747 MB / 1.492 GB, free: 6.613 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.7368, allocations: 8 kB / 1.492 GB, free: 6.605 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.7369, allocations: 16.03 kB / 1.492 GB, free: 6.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.7383, allocations: 0.5198 MB / 1.492 GB, free: 6.066 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.7401, allocations: 367.4 kB / 1.492 GB, free: 5.707 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.7426, allocations: 1.122 MB / 1.494 GB, free: 4.559 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.7453, allocations: 211.8 kB / 1.494 GB, free: 4.352 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/0.7456, allocations: 75.95 kB / 1.494 GB, free: 4.277 MB / 1.186 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.001357/0.7469, allocations: 0.556 MB / 1.494 GB, free: 3.711 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008412/0.7478, allocations: 250.3 kB / 1.495 GB, free: 3.465 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007158/0.7549, allocations: 2.11 MB / 1.497 GB, free: 1.352 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/0.755, allocations: 8 kB / 1.497 GB, free: 1.344 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.755, allocations: 0 / 1.497 GB, free: 1.344 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.755, allocations: 7.984 kB / 1.497 GB, free: 1.336 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.7673, allocations: 4.087 MB / 1.501 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.7673, allocations: 4 kB / 1.501 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.7684, allocations: 204.1 kB / 1.501 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.7697, allocations: 0.4965 MB / 1.501 GB, free: 12.44 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.285e-05/0.7698, allocations: 23.97 kB / 1.501 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.7721, allocations: 1.114 MB / 1.502 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.7721, allocations: 0 / 1.502 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007482/0.7796, allocations: 2.199 MB / 1.505 GB, free: 9.023 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/0.7811, allocations: 430 kB / 1.505 GB, free: 8.602 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006562/0.7817, allocations: 16 kB / 1.505 GB, free: 8.586 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/0.7839, allocations: 163.8 kB / 1.505 GB, free: 8.426 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.784, allocations: 60.28 kB / 1.505 GB, free: 8.367 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.7841, allocations: 39.95 kB / 1.505 GB, free: 8.328 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003886/0.788, allocations: 1.839 MB / 1.507 GB, free: 6.488 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.788, allocations: 0 / 1.507 GB, free: 6.488 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004008/0.792, allocations: 0.7486 MB / 1.508 GB, free: 5.738 MB / 1.201 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.01086/0.8029, allocations: 3.324 MB / 1.511 GB, free: 2.344 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006352/0.8093, allocations: 1.925 MB / 1.513 GB, free: 432 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.8093, allocations: 0 / 1.513 GB, free: 432 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002943/0.8122, allocations: 0.8311 MB / 1.514 GB, free: 15.59 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006525/0.8187, allocations: 1.148 MB / 1.515 GB, free: 14.47 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04999/0.8687, allocations: 20.06 MB / 1.534 GB, free: 9.84 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/0.8706, allocations: 1.629 MB / 1.536 GB, free: 8.18 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00229/0.8729, allocations: 470.5 kB / 1.537 GB, free: 7.723 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/0.8748, allocations: 0.9913 MB / 1.537 GB, free: 6.73 MB / 1.232 GB Notification: Performance of SimCode: time 9.42e-07/0.8748, allocations: 0 / 1.537 GB, free: 6.73 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.011, allocations: 67.8 MB / 1.604 GB, free: 3.723 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.75/19.76, allocations: 2.578 kB / 1.604 GB, free: 3.723 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 27.75994035601616]