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.00165/0.00165, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002012/0.002012, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.702/1.702, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.157/3.157, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_12_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.002096/0.002096, allocations: 63.91 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 176.1 MB / 1.321 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07727/1.13, allocations: 75.7 MB / 1.395 GB, free: 2.508 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0365/1.166, allocations: 21.58 MB / 1.416 GB, free: 3.156 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005347/1.171, allocations: 132.7 kB / 1.417 GB, free: 3.09 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.008072/1.179, allocations: 2.217 MB / 1.419 GB, free: 2.035 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/1.191, allocations: 3.338 MB / 1.422 GB, free: 92 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007562/1.199, allocations: 2.316 MB / 1.424 GB, free: 14.91 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01563/1.214, allocations: 7.888 MB / 1.432 GB, free: 11.75 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004482/1.219, allocations: 1.665 MB / 1.434 GB, free: 10.89 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008255/1.227, allocations: 2.421 MB / 1.436 GB, free: 9.508 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004621/1.232, allocations: 1.65 MB / 1.438 GB, free: 8.449 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0008199/1.233, allocations: 217.4 kB / 1.438 GB, free: 8.449 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00727/1.24, allocations: 2.105 MB / 1.44 GB, free: 7.324 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/1.241, allocations: 0.8096 MB / 1.441 GB, free: 6.734 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003135/1.245, allocations: 1.419 MB / 1.442 GB, free: 5.742 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/1.255, allocations: 4.573 MB / 1.446 GB, free: 2.656 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.255, allocations: 1.25 kB / 1.446 GB, free: 2.656 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.754e-06/1.255, allocations: 0 / 1.446 GB, free: 2.656 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001048/1.256, allocations: 4 kB / 1.446 GB, free: 2.652 MB / 1.123 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.009535/1.265, allocations: 3.306 MB / 1.45 GB, free: 172 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/1.265, allocations: 9.812 kB / 1.45 GB, free: 172 kB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.838e-05/1.265, allocations: 32.09 kB / 1.45 GB, free: 168 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003214/1.266, allocations: 187.7 kB / 1.45 GB, free: 12 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008182/1.274, allocations: 1.159 MB / 1.451 GB, free: 15.48 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007289/1.281, allocations: 3.03 MB / 1.454 GB, free: 13.4 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/1.281, allocations: 146.2 kB / 1.454 GB, free: 13.31 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/1.282, allocations: 132.8 kB / 1.454 GB, free: 13.27 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005194/1.287, allocations: 1.933 MB / 1.456 GB, free: 12.1 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/1.287, allocations: 1.062 kB / 1.456 GB, free: 12.1 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/1.287, allocations: 52.72 kB / 1.456 GB, free: 12.06 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/1.287, allocations: 30.38 kB / 1.456 GB, free: 12.06 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006643/1.294, allocations: 2.068 MB / 1.458 GB, free: 11.07 MB / 1.139 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.0171/1.311, allocations: 8.65 MB / 1.467 GB, free: 3.848 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005677/1.316, allocations: 1.582 MB / 1.468 GB, free: 2.5 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/1.319, allocations: 0.709 MB / 1.469 GB, free: 1.785 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007081/1.326, allocations: 3.799 MB / 1.473 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/1.326, allocations: 47.06 kB / 1.473 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001131/1.327, allocations: 135.1 kB / 1.473 GB, free: 13.51 MB / 1.154 GB Notification: Performance of pre-optimization done (n=57): time 3.827e-06/1.327, allocations: 0 / 1.473 GB, free: 13.51 MB / 1.154 GB Notification: Performance of matching and sorting (n=57): time 0.01476/1.342, allocations: 3.079 MB / 1.476 GB, free: 10.41 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/1.342, allocations: 63.91 kB / 1.476 GB, free: 10.33 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00474/1.347, allocations: 2.654 MB / 1.479 GB, free: 7.66 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/1.347, allocations: 41.7 kB / 1.479 GB, free: 7.613 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/1.348, allocations: 1.12 MB / 1.48 GB, free: 6.484 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/1.348, allocations: 218.2 kB / 1.48 GB, free: 6.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006349/1.349, allocations: 338.6 kB / 1.48 GB, free: 5.934 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.349, allocations: 301.1 kB / 1.48 GB, free: 5.637 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/1.352, allocations: 0.9167 MB / 1.481 GB, free: 4.723 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003341/1.355, allocations: 1.34 MB / 1.483 GB, free: 3.207 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005387/1.361, allocations: 2.006 MB / 1.485 GB, free: 1.047 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.361, allocations: 4 kB / 1.485 GB, free: 1.043 MB / 1.154 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.008699/1.369, allocations: 2.741 MB / 1.487 GB, free: 14.29 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/1.369, allocations: 12.12 kB / 1.487 GB, free: 14.28 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/1.369, allocations: 19.92 kB / 1.487 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/1.371, allocations: 0.5043 MB / 1.488 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/1.373, allocations: 371.5 kB / 1.488 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/1.375, allocations: 1.126 MB / 1.489 GB, free: 12.24 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/1.379, allocations: 216.7 kB / 1.489 GB, free: 12.03 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/1.379, allocations: 79.95 kB / 1.49 GB, free: 11.95 MB / 1.17 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.001176/1.38, allocations: 0.5558 MB / 1.49 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006289/1.381, allocations: 254.3 kB / 1.49 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007261/1.388, allocations: 2.095 MB / 1.492 GB, free: 9.027 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/1.388, allocations: 8 kB / 1.492 GB, free: 9.02 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.388, allocations: 4 kB / 1.492 GB, free: 9.016 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.388, allocations: 7.922 kB / 1.492 GB, free: 9.008 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/1.399, allocations: 4.087 MB / 1.496 GB, free: 4.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1.399, allocations: 8.344 kB / 1.496 GB, free: 4.812 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.4, allocations: 207.7 kB / 1.497 GB, free: 4.609 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/1.402, allocations: 0.4887 MB / 1.497 GB, free: 4.117 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-05/1.402, allocations: 31.97 kB / 1.497 GB, free: 4.086 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/1.404, allocations: 1.11 MB / 1.498 GB, free: 2.949 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.404, allocations: 4 kB / 1.498 GB, free: 2.945 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008321/1.413, allocations: 2.182 MB / 1.5 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/1.414, allocations: 0.4952 MB / 1.501 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005272/1.415, allocations: 16 kB / 1.501 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/1.417, allocations: 171.8 kB / 1.501 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.417, allocations: 48.39 kB / 1.501 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.417, allocations: 43.95 kB / 1.501 GB, free: 15.91 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003268/1.421, allocations: 1.831 MB / 1.503 GB, free: 14.07 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.21e-07/1.421, allocations: 0 / 1.503 GB, free: 14.07 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00261/1.423, allocations: 0.7486 MB / 1.504 GB, free: 13.32 MB / 1.186 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.009766/1.433, allocations: 3.322 MB / 1.507 GB, free: 9.941 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006709/1.44, allocations: 1.92 MB / 1.509 GB, free: 8.02 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.44, allocations: 0 / 1.509 GB, free: 8.02 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003196/1.443, allocations: 0.8201 MB / 1.51 GB, free: 7.203 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/1.449, allocations: 1.151 MB / 1.511 GB, free: 6.078 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04306/1.492, allocations: 20.04 MB / 1.53 GB, free: 1.477 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/1.493, allocations: 1.633 MB / 1.532 GB, free: 15.81 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00193/1.495, allocations: 453.9 kB / 1.532 GB, free: 15.37 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/1.497, allocations: 0.9874 MB / 1.533 GB, free: 14.38 MB / 1.217 GB Notification: Performance of SimCode: time 6.81e-07/1.497, allocations: 0 / 1.533 GB, free: 14.38 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/1.649, allocations: 67.13 MB / 1.599 GB, free: 12.04 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.38/20.03, allocations: 10.91 kB / 1.599 GB, free: 12.03 MB / 1.279 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.535287796985358]