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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 103.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.307/3.307, allocations: 497.2 MB / 0.7811 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 71.56 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.442, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.07196/0.514, allocations: 53.93 MB / 1.357 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02278/0.5368, allocations: 11.53 MB / 1.368 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00383/0.5406, allocations: 59.69 kB / 1.368 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003493/0.5441, allocations: 0.784 MB / 1.369 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008977/0.5531, allocations: 2.278 MB / 1.371 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005224/0.5583, allocations: 1.378 MB / 1.372 GB, free: 11.37 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00879/0.5671, allocations: 3.944 MB / 1.376 GB, free: 7.422 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.5701, allocations: 1.061 MB / 1.377 GB, free: 6.328 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.5756, allocations: 1.623 MB / 1.379 GB, free: 4.703 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.5784, allocations: 1.128 MB / 1.38 GB, free: 3.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007126/0.5792, allocations: 140 kB / 1.38 GB, free: 3.434 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.5829, allocations: 1.065 MB / 1.381 GB, free: 2.367 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.584, allocations: 450.3 kB / 1.381 GB, free: 1.926 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.5863, allocations: 0.859 MB / 1.382 GB, free: 1.062 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006349/0.5926, allocations: 2.6 MB / 1.385 GB, free: 14.45 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5926, allocations: 0 / 1.385 GB, free: 14.45 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5926, allocations: 4 kB / 1.385 GB, free: 14.45 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.226e-05/0.5927, allocations: 0 / 1.385 GB, free: 14.45 MB / 1.092 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.005118/0.5978, allocations: 2.075 MB / 1.387 GB, free: 12.32 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.5979, allocations: 12.62 kB / 1.387 GB, free: 12.3 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/0.5981, allocations: 143.8 kB / 1.387 GB, free: 12.16 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003788/0.6019, allocations: 0.5773 MB / 1.388 GB, free: 11.58 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/0.6052, allocations: 1.408 MB / 1.389 GB, free: 10.12 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.6053, allocations: 119.7 kB / 1.389 GB, free: 9.996 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.6055, allocations: 95.95 kB / 1.389 GB, free: 9.902 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/0.6088, allocations: 1.35 MB / 1.39 GB, free: 8.516 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.6088, allocations: 4 kB / 1.39 GB, free: 8.512 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.609, allocations: 40 kB / 1.391 GB, free: 8.473 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.609, allocations: 28 kB / 1.391 GB, free: 8.445 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.6131, allocations: 1.429 MB / 1.392 GB, free: 7.016 MB / 1.092 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.01066/0.6238, allocations: 5.371 MB / 1.397 GB, free: 1.391 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.6268, allocations: 1.032 MB / 1.398 GB, free: 356 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.6285, allocations: 0.5748 MB / 1.399 GB, free: 15.77 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.6296, allocations: 1.077 MB / 1.4 GB, free: 14.45 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001976/0.6316, allocations: 0.6783 MB / 1.4 GB, free: 13.77 MB / 1.107 GB Notification: Performance of pre-optimization done (n=60): time 4.538e-06/0.6316, allocations: 0 / 1.4 GB, free: 13.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=60): time 0.005692/0.6373, allocations: 1.759 MB / 1.402 GB, free: 12 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.6374, allocations: 55.97 kB / 1.402 GB, free: 11.93 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.6398, allocations: 1.409 MB / 1.404 GB, free: 10.52 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.64, allocations: 45.7 kB / 1.404 GB, free: 10.46 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007404/0.6407, allocations: 0.6549 MB / 1.404 GB, free: 9.801 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.641, allocations: 218.1 kB / 1.405 GB, free: 9.586 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.6414, allocations: 166.6 kB / 1.405 GB, free: 9.414 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.6416, allocations: 334 kB / 1.405 GB, free: 9.082 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.6433, allocations: 0.5484 MB / 1.406 GB, free: 8.535 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.6452, allocations: 0.7574 MB / 1.406 GB, free: 7.703 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00349/0.6487, allocations: 1.197 MB / 1.407 GB, free: 6.441 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6487, allocations: 3.938 kB / 1.407 GB, free: 6.438 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004622/0.6533, allocations: 1.452 MB / 1.409 GB, free: 4.977 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.6534, allocations: 9.859 kB / 1.409 GB, free: 4.969 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.6534, allocations: 8 kB / 1.409 GB, free: 4.961 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.6534, allocations: 8 kB / 1.409 GB, free: 4.953 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.6547, allocations: 244.1 kB / 1.409 GB, free: 4.715 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.234e-05/0.6548, allocations: 11.94 kB / 1.409 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.6565, allocations: 199.1 kB / 1.409 GB, free: 4.508 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.6566, allocations: 43.97 kB / 1.409 GB, free: 4.465 MB / 1.107 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.0008334/0.6574, allocations: 353.5 kB / 1.41 GB, free: 4.109 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/0.6578, allocations: 155 kB / 1.41 GB, free: 3.957 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.662, allocations: 1.399 MB / 1.411 GB, free: 2.551 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.662, allocations: 12 kB / 1.411 GB, free: 2.539 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.662, allocations: 4 kB / 1.411 GB, free: 2.535 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003501/0.6655, allocations: 1.267 MB / 1.412 GB, free: 1.234 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007143/0.6726, allocations: 2.957 MB / 1.415 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6726, allocations: 256 / 1.415 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.6739, allocations: 211.7 kB / 1.416 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.6739, allocations: 4 kB / 1.416 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.986e-05/0.674, allocations: 23.98 kB / 1.416 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.674, allocations: 11.92 kB / 1.416 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.674, allocations: 3.938 kB / 1.416 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/0.6801, allocations: 2.231 MB / 1.418 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009487/0.681, allocations: 363.8 kB / 1.418 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.6813, allocations: 16.08 kB / 1.418 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.6827, allocations: 123.8 kB / 1.418 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.6829, allocations: 52.42 kB / 1.418 GB, free: 11.1 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.683, allocations: 43.91 kB / 1.418 GB, free: 11.06 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001699/0.6847, allocations: 0.9908 MB / 1.419 GB, free: 10.07 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.6847, allocations: 0 / 1.419 GB, free: 10.07 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001524/0.6862, allocations: 467 kB / 1.42 GB, free: 9.613 MB / 1.123 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.007495/0.6937, allocations: 3.131 MB / 1.423 GB, free: 6.43 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003908/0.6976, allocations: 1.242 MB / 1.424 GB, free: 5.191 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.6976, allocations: 0 / 1.424 GB, free: 5.191 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.6995, allocations: 0.6246 MB / 1.425 GB, free: 4.566 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/0.7034, allocations: 0.7658 MB / 1.425 GB, free: 3.816 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/0.73, allocations: 12.36 MB / 1.437 GB, free: 7.148 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.7311, allocations: 1.232 MB / 1.439 GB, free: 5.887 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001776/0.7328, allocations: 303.5 kB / 1.439 GB, free: 5.586 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.7339, allocations: 0.5617 MB / 1.439 GB, free: 5.023 MB / 1.139 GB Notification: Performance of SimCode: time 1.623e-06/0.7339, allocations: 0 / 1.439 GB, free: 5.023 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/0.8757, allocations: 42.74 MB / 1.481 GB, free: 10.78 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.36, allocations: 4.531 kB / 1.481 GB, free: 10.78 MB / 1.186 GB " [Timeout remaining time 288] (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_2/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: 19.72228221828118]