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.001716/0.001716, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002334/0.002334, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.341/3.341, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 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.002025/0.002025, allocations: 70.55 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.425, allocations: 179 MB / 1.345 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06355/0.4885, allocations: 54.69 MB / 1.399 GB, free: 9.613 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01841/0.5069, allocations: 11.56 MB / 1.41 GB, free: 14.03 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.5094, allocations: 87.31 kB / 1.41 GB, free: 13.95 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002968/0.5124, allocations: 0.7879 MB / 1.411 GB, free: 13.15 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008222/0.5206, allocations: 2.325 MB / 1.413 GB, free: 10.82 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004593/0.5252, allocations: 1.434 MB / 1.415 GB, free: 9.395 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006817/0.532, allocations: 4.032 MB / 1.418 GB, free: 5.355 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.534, allocations: 1.003 MB / 1.419 GB, free: 4.32 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004365/0.5384, allocations: 1.677 MB / 1.421 GB, free: 2.641 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.5406, allocations: 1.128 MB / 1.422 GB, free: 1.508 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/0.5409, allocations: 143.9 kB / 1.422 GB, free: 1.367 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.5437, allocations: 1.127 MB / 1.423 GB, free: 244 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005563/0.5443, allocations: 466.2 kB / 1.424 GB, free: 15.78 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.5456, allocations: 0.859 MB / 1.425 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004472/0.55, allocations: 2.655 MB / 1.427 GB, free: 12.25 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.55, allocations: 0 / 1.427 GB, free: 12.25 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.633e-06/0.55, allocations: 3.938 kB / 1.427 GB, free: 12.25 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.255e-05/0.5501, allocations: 4 kB / 1.427 GB, free: 12.25 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00417/0.5542, allocations: 2.003 MB / 1.429 GB, free: 10.2 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5543, allocations: 8.031 kB / 1.429 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.563e-05/0.5543, allocations: 22.19 kB / 1.429 GB, free: 10.17 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.5545, allocations: 143.8 kB / 1.429 GB, free: 10.02 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00361/0.5581, allocations: 0.5812 MB / 1.43 GB, free: 9.441 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.5612, allocations: 1.359 MB / 1.431 GB, free: 8.035 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.5614, allocations: 145.4 kB / 1.431 GB, free: 7.883 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.5616, allocations: 92 kB / 1.432 GB, free: 7.793 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00336/0.5649, allocations: 1.358 MB / 1.433 GB, free: 6.398 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.5649, allocations: 3.938 kB / 1.433 GB, free: 6.395 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.5651, allocations: 40 kB / 1.433 GB, free: 6.355 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/0.5651, allocations: 24 kB / 1.433 GB, free: 6.332 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004068/0.5692, allocations: 1.429 MB / 1.434 GB, free: 4.906 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.009091/0.5782, allocations: 5.288 MB / 1.439 GB, free: 15.38 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.5814, allocations: 1.038 MB / 1.441 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.583, allocations: 0.5759 MB / 1.441 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/0.5834, allocations: 100.3 kB / 1.441 GB, free: 13.66 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001944/0.5854, allocations: 0.6697 MB / 1.442 GB, free: 12.98 MB / 1.139 GB Notification: Performance of pre-optimization done (n=60): time 2.565e-06/0.5854, allocations: 0 / 1.442 GB, free: 12.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=60): time 0.005589/0.591, allocations: 1.761 MB / 1.444 GB, free: 11.21 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.591, allocations: 63.89 kB / 1.444 GB, free: 11.13 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.5933, allocations: 1.421 MB / 1.445 GB, free: 9.703 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.5935, allocations: 37.7 kB / 1.445 GB, free: 9.66 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007/0.5942, allocations: 0.6588 MB / 1.446 GB, free: 8.992 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.5944, allocations: 214.2 kB / 1.446 GB, free: 8.781 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/0.5948, allocations: 170.5 kB / 1.446 GB, free: 8.609 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5949, allocations: 334 kB / 1.446 GB, free: 8.277 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.5966, allocations: 0.5523 MB / 1.447 GB, free: 7.727 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.5985, allocations: 0.7614 MB / 1.448 GB, free: 6.891 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/0.6019, allocations: 1.19 MB / 1.449 GB, free: 5.637 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.6019, allocations: 4 kB / 1.449 GB, free: 5.633 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004246/0.6061, allocations: 1.445 MB / 1.45 GB, free: 4.18 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.6061, allocations: 4 kB / 1.45 GB, free: 4.176 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.6061, allocations: 11.98 kB / 1.45 GB, free: 4.164 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.6062, allocations: 11.98 kB / 1.45 GB, free: 4.152 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.6074, allocations: 248 kB / 1.45 GB, free: 3.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.6074, allocations: 19.94 kB / 1.45 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.609, allocations: 183.2 kB / 1.451 GB, free: 3.711 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.6091, allocations: 43.97 kB / 1.451 GB, free: 3.668 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.0006692/0.6097, allocations: 349.6 kB / 1.451 GB, free: 3.316 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.6101, allocations: 163 kB / 1.451 GB, free: 3.156 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003998/0.6141, allocations: 1.421 MB / 1.453 GB, free: 1.719 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.6141, allocations: 12 kB / 1.453 GB, free: 1.707 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.6141, allocations: 0 / 1.453 GB, free: 1.707 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003417/0.6175, allocations: 1.273 MB / 1.454 GB, free: 412 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/0.6248, allocations: 2.947 MB / 1.457 GB, free: 13.37 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.6248, allocations: 3.984 kB / 1.457 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.6259, allocations: 203.8 kB / 1.457 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.6259, allocations: 7.938 kB / 1.457 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.626, allocations: 31.97 kB / 1.457 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.626, allocations: 4 kB / 1.457 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.626, allocations: 3.938 kB / 1.457 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/0.6319, allocations: 2.245 MB / 1.459 GB, free: 10.83 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/0.6328, allocations: 286.7 kB / 1.459 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.633, allocations: 12 kB / 1.459 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.6343, allocations: 123.8 kB / 1.46 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.6344, allocations: 60.28 kB / 1.46 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.383e-05/0.6345, allocations: 39.95 kB / 1.46 GB, free: 10.32 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001539/0.636, allocations: 0.9988 MB / 1.461 GB, free: 9.32 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.636, allocations: 0 / 1.461 GB, free: 9.32 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00143/0.6375, allocations: 459.1 kB / 1.461 GB, free: 8.871 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.006815/0.6443, allocations: 3.111 MB / 1.464 GB, free: 5.707 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003905/0.6482, allocations: 1.254 MB / 1.465 GB, free: 4.453 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.6482, allocations: 0 / 1.465 GB, free: 4.453 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.6502, allocations: 0.6281 MB / 1.466 GB, free: 3.824 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/0.6542, allocations: 0.7689 MB / 1.467 GB, free: 3.074 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/0.6789, allocations: 12.38 MB / 1.479 GB, free: 6.402 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009818/0.6799, allocations: 1.233 MB / 1.48 GB, free: 5.137 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001417/0.6813, allocations: 309.6 kB / 1.48 GB, free: 4.832 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009077/0.6822, allocations: 0.5617 MB / 1.481 GB, free: 4.27 MB / 1.17 GB Notification: Performance of SimCode: time 1.042e-06/0.6822, allocations: 3.938 kB / 1.481 GB, free: 4.266 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09086/0.7731, allocations: 43.35 MB / 1.523 GB, free: 9.352 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.26, allocations: 12.2 kB / 1.523 GB, free: 9.344 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: 22.706346570979804]