Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.001742/0.001742, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.002505/0.002505, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.287/3.287, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",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.002061/0.002061, allocations: 66.75 kB / 1.17 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4063, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06239/0.4687, allocations: 49.27 MB / 1.393 GB, free: 14.51 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.4884, allocations: 10.67 MB / 1.404 GB, free: 3.812 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.4917, allocations: 83.31 kB / 1.404 GB, free: 3.73 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.4951, allocations: 0.7489 MB / 1.405 GB, free: 2.977 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007967/0.503, allocations: 2.316 MB / 1.407 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.5075, allocations: 1.419 MB / 1.408 GB, free: 15.25 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007552/0.515, allocations: 4.031 MB / 1.412 GB, free: 11.21 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.5175, allocations: 1.011 MB / 1.413 GB, free: 10.16 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004797/0.5223, allocations: 1.675 MB / 1.415 GB, free: 8.488 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.5247, allocations: 1.14 MB / 1.416 GB, free: 7.344 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005597/0.5253, allocations: 136 kB / 1.416 GB, free: 7.211 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00293/0.5282, allocations: 0.8812 MB / 1.417 GB, free: 6.328 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007896/0.529, allocations: 458.3 kB / 1.417 GB, free: 5.879 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.5306, allocations: 0.6803 MB / 1.418 GB, free: 5.195 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005274/0.5358, allocations: 2.631 MB / 1.421 GB, free: 2.555 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.5359, allocations: 0 / 1.421 GB, free: 2.555 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5359, allocations: 0 / 1.421 GB, free: 2.555 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.098e-05/0.5359, allocations: 4 kB / 1.421 GB, free: 2.551 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005009/0.5409, allocations: 2.003 MB / 1.423 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.541, allocations: 8.031 kB / 1.423 GB, free: 0.5 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.724e-05/0.541, allocations: 22.19 kB / 1.423 GB, free: 488 kB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002736/0.5413, allocations: 143.8 kB / 1.423 GB, free: 336 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.5451, allocations: 0.5813 MB / 1.423 GB, free: 15.74 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004255/0.5494, allocations: 1.351 MB / 1.425 GB, free: 14.35 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.5497, allocations: 149.4 kB / 1.425 GB, free: 14.19 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004127/0.5501, allocations: 99.94 kB / 1.425 GB, free: 14.09 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003893/0.554, allocations: 1.504 MB / 1.426 GB, free: 12.52 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.554, allocations: 0 / 1.426 GB, free: 12.52 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.5541, allocations: 36 kB / 1.426 GB, free: 12.48 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.5542, allocations: 24 kB / 1.426 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003981/0.5581, allocations: 1.432 MB / 1.428 GB, free: 11.03 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.00925/0.5674, allocations: 4.329 MB / 1.432 GB, free: 6.602 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.5704, allocations: 1.025 MB / 1.433 GB, free: 5.562 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.572, allocations: 0.5722 MB / 1.434 GB, free: 4.988 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.5725, allocations: 96.44 kB / 1.434 GB, free: 4.895 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002014/0.5745, allocations: 0.8398 MB / 1.434 GB, free: 4.008 MB / 1.123 GB Notification: Performance of pre-optimization done (n=60): time 3.186e-06/0.5745, allocations: 0 / 1.434 GB, free: 4.008 MB / 1.123 GB Notification: Performance of matching and sorting (n=60): time 0.005588/0.5801, allocations: 1.761 MB / 1.436 GB, free: 2.238 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.5801, allocations: 63.84 kB / 1.436 GB, free: 2.164 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.5824, allocations: 1.417 MB / 1.438 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.5825, allocations: 41.7 kB / 1.438 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000711/0.5832, allocations: 0.6588 MB / 1.438 GB, free: 24 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.5835, allocations: 214.2 kB / 1.439 GB, free: 15.81 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.5839, allocations: 170.5 kB / 1.439 GB, free: 15.64 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.5841, allocations: 337.9 kB / 1.439 GB, free: 15.3 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.5857, allocations: 0.5484 MB / 1.44 GB, free: 14.76 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.5878, allocations: 1.008 MB / 1.441 GB, free: 13.61 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.591, allocations: 1.194 MB / 1.442 GB, free: 12.36 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.591, allocations: 0 / 1.442 GB, free: 12.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00415/0.5952, allocations: 1.445 MB / 1.443 GB, free: 10.9 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.5952, allocations: 8 kB / 1.443 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.5952, allocations: 7.984 kB / 1.443 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.5953, allocations: 8 kB / 1.443 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.5965, allocations: 252 kB / 1.443 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.5966, allocations: 11.94 kB / 1.443 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.5981, allocations: 191.2 kB / 1.444 GB, free: 10.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.5982, allocations: 43.97 kB / 1.444 GB, free: 10.39 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007074/0.5989, allocations: 353.6 kB / 1.444 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/0.5993, allocations: 155 kB / 1.444 GB, free: 9.883 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.6032, allocations: 1.435 MB / 1.445 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.6032, allocations: 8 kB / 1.445 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6032, allocations: 0 / 1.445 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003298/0.6065, allocations: 1.273 MB / 1.447 GB, free: 7.121 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006186/0.6127, allocations: 2.725 MB / 1.449 GB, free: 4.309 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.6127, allocations: 4 kB / 1.449 GB, free: 4.305 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.6139, allocations: 207.9 kB / 1.45 GB, free: 4.102 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.649e-06/0.6139, allocations: 4 kB / 1.45 GB, free: 4.098 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.359e-05/0.614, allocations: 23.97 kB / 1.45 GB, free: 4.074 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.614, allocations: 4 kB / 1.45 GB, free: 4.07 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.614, allocations: 7.938 kB / 1.45 GB, free: 4.062 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005614/0.6196, allocations: 2.253 MB / 1.452 GB, free: 1.766 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007231/0.6203, allocations: 290.6 kB / 1.452 GB, free: 1.48 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.6205, allocations: 12 kB / 1.452 GB, free: 1.469 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.6218, allocations: 127.9 kB / 1.452 GB, free: 1.344 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.6219, allocations: 56.28 kB / 1.452 GB, free: 1.289 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.58e-05/0.622, allocations: 39.95 kB / 1.452 GB, free: 1.25 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001558/0.6235, allocations: 0.9949 MB / 1.453 GB, free: 264 kB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6235, allocations: 4 kB / 1.453 GB, free: 260 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.001339/0.6249, allocations: 475 kB / 1.454 GB, free: 15.79 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006656/0.6315, allocations: 3.101 MB / 1.457 GB, free: 12.63 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003548/0.6351, allocations: 1.25 MB / 1.458 GB, free: 11.38 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.6351, allocations: 4 kB / 1.458 GB, free: 11.38 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.6368, allocations: 0.6242 MB / 1.459 GB, free: 10.75 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/0.6403, allocations: 0.7636 MB / 1.459 GB, free: 10.01 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/0.6636, allocations: 12.38 MB / 1.471 GB, free: 13.34 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/0.6644, allocations: 0.6444 MB / 1.472 GB, free: 12.66 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001401/0.6658, allocations: 310.1 kB / 1.472 GB, free: 12.36 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009648/0.6668, allocations: 0.5656 MB / 1.473 GB, free: 11.79 MB / 1.17 GB Notification: Performance of SimCode: time 7.22e-07/0.6668, allocations: 0 / 1.473 GB, free: 11.79 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09237/0.7592, allocations: 46.06 MB / 1.518 GB, free: 14.51 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.83, allocations: 10.23 kB / 1.518 GB, free: 14.5 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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: 21.92263934703078]