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.001367/0.001367, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001677/0.001677, allocations: 218.1 kB / 22.25 MB, free: 5.125 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 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.396/3.396, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_latest_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.002062/0.002062, allocations: 67.64 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4142, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.09335/0.5076, allocations: 76.41 MB / 1.427 GB, free: 11.83 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03838/0.5459, allocations: 21.69 MB / 1.449 GB, free: 6.094 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003818/0.5498, allocations: 130.9 kB / 1.449 GB, free: 5.965 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006694/0.5565, allocations: 2.278 MB / 1.451 GB, free: 3.676 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.009433/0.5659, allocations: 3.401 MB / 1.454 GB, free: 268 kB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006548/0.5724, allocations: 2.383 MB / 1.457 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01608/0.5885, allocations: 8.059 MB / 1.465 GB, free: 5.816 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004734/0.5932, allocations: 1.631 MB / 1.466 GB, free: 4.133 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008066/0.6013, allocations: 2.437 MB / 1.468 GB, free: 1.695 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00414/0.6055, allocations: 1.657 MB / 1.47 GB, free: 32 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.6067, allocations: 220 kB / 1.47 GB, free: 15.81 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007183/0.6139, allocations: 2.176 MB / 1.472 GB, free: 13.64 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002017/0.6159, allocations: 0.8134 MB / 1.473 GB, free: 12.82 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003443/0.6193, allocations: 1.415 MB / 1.475 GB, free: 11.4 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00973/0.6291, allocations: 4.57 MB / 1.479 GB, free: 6.812 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6291, allocations: 0 / 1.479 GB, free: 6.812 MB / 1.17 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6291, allocations: 0 / 1.479 GB, free: 6.812 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001179/0.6292, allocations: 4 kB / 1.479 GB, free: 6.809 MB / 1.17 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.008008/0.6372, allocations: 3.24 MB / 1.482 GB, free: 3.512 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.6372, allocations: 8.031 kB / 1.482 GB, free: 3.504 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004237/0.6377, allocations: 185.9 kB / 1.482 GB, free: 3.312 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007038/0.6447, allocations: 1.157 MB / 1.484 GB, free: 2.152 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006555/0.6513, allocations: 2.946 MB / 1.486 GB, free: 15.12 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.6515, allocations: 181.6 kB / 1.487 GB, free: 14.94 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.6518, allocations: 132 kB / 1.487 GB, free: 14.81 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004909/0.6567, allocations: 1.928 MB / 1.489 GB, free: 12.81 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.6568, allocations: 7.938 kB / 1.489 GB, free: 12.8 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.6569, allocations: 52 kB / 1.489 GB, free: 12.75 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.657, allocations: 28 kB / 1.489 GB, free: 12.72 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006195/0.6631, allocations: 2.066 MB / 1.491 GB, free: 10.65 MB / 1.186 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.01632/0.6795, allocations: 8.497 MB / 1.499 GB, free: 1.664 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.6847, allocations: 1.583 MB / 1.501 GB, free: 76 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002162/0.6869, allocations: 0.7132 MB / 1.501 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006173/0.6931, allocations: 2.721 MB / 1.504 GB, free: 12.61 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.6931, allocations: 39.06 kB / 1.504 GB, free: 12.57 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001196/0.6943, allocations: 135.1 kB / 1.504 GB, free: 12.43 MB / 1.201 GB Notification: Performance of pre-optimization done (n=57): time 5.17e-06/0.6943, allocations: 0 / 1.504 GB, free: 12.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=57): time 0.0133/0.7076, allocations: 3.013 MB / 1.507 GB, free: 9.406 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.7076, allocations: 55.91 kB / 1.507 GB, free: 9.34 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00547/0.7131, allocations: 2.661 MB / 1.51 GB, free: 6.664 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004006/0.7135, allocations: 41.7 kB / 1.51 GB, free: 6.617 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.7148, allocations: 1.12 MB / 1.511 GB, free: 5.488 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.7151, allocations: 218.2 kB / 1.511 GB, free: 5.273 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005861/0.7157, allocations: 342.6 kB / 1.511 GB, free: 4.934 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.7158, allocations: 305.1 kB / 1.512 GB, free: 4.633 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/0.7185, allocations: 0.9283 MB / 1.513 GB, free: 3.707 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/0.7214, allocations: 1.343 MB / 1.514 GB, free: 2.188 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004891/0.7263, allocations: 2.015 MB / 1.516 GB, free: 16 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.7263, allocations: 4 kB / 1.516 GB, free: 12 kB / 1.201 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007965/0.7343, allocations: 2.746 MB / 1.519 GB, free: 13.25 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.7343, allocations: 12.61 kB / 1.519 GB, free: 13.24 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.7344, allocations: 12 kB / 1.519 GB, free: 13.23 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.7359, allocations: 0.5081 MB / 1.519 GB, free: 12.72 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.7377, allocations: 375.4 kB / 1.519 GB, free: 12.35 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.7401, allocations: 1.118 MB / 1.52 GB, free: 11.21 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/0.7428, allocations: 223.7 kB / 1.521 GB, free: 10.99 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.743, allocations: 71.95 kB / 1.521 GB, free: 10.92 MB / 1.217 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.001244/0.7442, allocations: 0.5598 MB / 1.521 GB, free: 10.35 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005762/0.7448, allocations: 250.3 kB / 1.522 GB, free: 10.1 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006627/0.7514, allocations: 2.116 MB / 1.524 GB, free: 7.984 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.7515, allocations: 8 kB / 1.524 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.7515, allocations: 3.984 kB / 1.524 GB, free: 7.973 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.7515, allocations: 4 kB / 1.524 GB, free: 7.969 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.762, allocations: 4.08 MB / 1.528 GB, free: 3.789 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.762, allocations: 0 / 1.528 GB, free: 3.789 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.7631, allocations: 204.1 kB / 1.528 GB, free: 3.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.7643, allocations: 0.4887 MB / 1.528 GB, free: 3.098 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/0.7644, allocations: 27.97 kB / 1.528 GB, free: 3.07 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.7668, allocations: 1.114 MB / 1.529 GB, free: 1.93 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.7668, allocations: 12.05 kB / 1.529 GB, free: 1.918 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007368/0.7742, allocations: 2.195 MB / 1.532 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/0.7758, allocations: 430 kB / 1.532 GB, free: 15.24 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004692/0.7762, allocations: 16 kB / 1.532 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/0.7781, allocations: 163.8 kB / 1.532 GB, free: 15.07 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.7782, allocations: 60.28 kB / 1.532 GB, free: 15.01 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.7783, allocations: 39.97 kB / 1.532 GB, free: 14.97 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003276/0.7816, allocations: 1.831 MB / 1.534 GB, free: 13.14 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7816, allocations: 0 / 1.534 GB, free: 13.14 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003109/0.7847, allocations: 0.7485 MB / 1.535 GB, free: 12.39 MB / 1.232 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.009211/0.7939, allocations: 3.315 MB / 1.538 GB, free: 9.004 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006214/0.8001, allocations: 1.925 MB / 1.54 GB, free: 7.082 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.8001, allocations: 4.125 kB / 1.54 GB, free: 7.078 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002916/0.8031, allocations: 0.8231 MB / 1.541 GB, free: 6.254 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005508/0.8086, allocations: 1.155 MB / 1.542 GB, free: 5.117 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0452/0.8538, allocations: 20.07 MB / 1.561 GB, free: 492 kB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.8553, allocations: 1.633 MB / 1.563 GB, free: 14.81 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002106/0.8574, allocations: 469.9 kB / 1.563 GB, free: 14.36 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.8589, allocations: 0.9874 MB / 1.564 GB, free: 13.37 MB / 1.264 GB Notification: Performance of SimCode: time 1.112e-06/0.8589, allocations: 4 kB / 1.564 GB, free: 13.37 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8615/1.72, allocations: 67.75 MB / 1.631 GB, free: 245.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/20.64, allocations: 11.34 kB / 1.631 GB, free: 245.1 MB / 1.295 GB " [Timeout remaining time 279] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins1/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: 27.902330704033375]