Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001347/0.001347, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001707/0.001707, allocations: 215 kB / 20.13 MB, free: 2.949 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.559/1.559, 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.133/3.133, allocations: 0.49 GB / 0.7923 GB, free: 1.391 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.AbsorptionIndirectSteam,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_12_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.002067/0.002067, allocations: 63.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 176.1 MB / 1.321 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05436/1.105, allocations: 54.18 MB / 1.374 GB, free: 1.844 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0212/1.126, allocations: 11.53 MB / 1.386 GB, free: 9.582 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004313/1.13, allocations: 84.12 kB / 1.386 GB, free: 9.539 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003175/1.134, allocations: 0.7879 MB / 1.386 GB, free: 9.07 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008121/1.142, allocations: 2.274 MB / 1.389 GB, free: 7.727 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004555/1.146, allocations: 1.394 MB / 1.39 GB, free: 6.957 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007687/1.154, allocations: 3.942 MB / 1.394 GB, free: 5.047 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/1.156, allocations: 1.06 MB / 1.395 GB, free: 4.488 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/1.161, allocations: 1.644 MB / 1.397 GB, free: 3.711 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/1.163, allocations: 1.128 MB / 1.398 GB, free: 3.195 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002903/1.163, allocations: 139.3 kB / 1.398 GB, free: 3.195 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/1.167, allocations: 1.104 MB / 1.399 GB, free: 2.781 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005533/1.167, allocations: 460.9 kB / 1.399 GB, free: 2.52 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001236/1.168, allocations: 0.8545 MB / 1.4 GB, free: 1.98 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005183/1.174, allocations: 2.658 MB / 1.403 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.174, allocations: 0 / 1.403 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.543e-06/1.174, allocations: 0 / 1.403 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.617e-05/1.174, allocations: 1.344 kB / 1.403 GB, free: 0.9648 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.004772/1.178, allocations: 2.09 MB / 1.405 GB, free: 15.58 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.179, allocations: 13.14 kB / 1.405 GB, free: 15.58 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.614e-05/1.179, allocations: 28.25 kB / 1.405 GB, free: 15.57 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/1.179, allocations: 145.1 kB / 1.405 GB, free: 15.48 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003667/1.182, allocations: 0.5771 MB / 1.406 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/1.185, allocations: 1.42 MB / 1.407 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.185, allocations: 116 kB / 1.407 GB, free: 14.46 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/1.186, allocations: 102.7 kB / 1.407 GB, free: 14.42 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/1.189, allocations: 1.351 MB / 1.408 GB, free: 13.89 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/1.189, allocations: 1.594 kB / 1.408 GB, free: 13.89 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.189, allocations: 39.98 kB / 1.408 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/1.189, allocations: 28.28 kB / 1.409 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00416/1.193, allocations: 1.43 MB / 1.41 GB, free: 13.43 MB / 1.107 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.01002/1.203, allocations: 5.365 MB / 1.415 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/1.207, allocations: 1.035 MB / 1.416 GB, free: 9.727 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/1.208, allocations: 0.5741 MB / 1.417 GB, free: 9.551 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009813/1.209, allocations: 1.07 MB / 1.418 GB, free: 8.312 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002266/1.211, allocations: 0.6791 MB / 1.418 GB, free: 8.09 MB / 1.107 GB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/1.211, allocations: 1.375 kB / 1.418 GB, free: 8.09 MB / 1.107 GB Notification: Performance of matching and sorting (n=60): time 0.00626/1.218, allocations: 1.763 MB / 1.42 GB, free: 7.539 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/1.218, allocations: 58.72 kB / 1.42 GB, free: 7.477 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/1.22, allocations: 1.415 MB / 1.422 GB, free: 6.918 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001851/1.221, allocations: 41.73 kB / 1.422 GB, free: 6.875 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006941/1.221, allocations: 0.655 MB / 1.422 GB, free: 6.293 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/1.222, allocations: 216.8 kB / 1.422 GB, free: 6.105 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/1.222, allocations: 166.4 kB / 1.423 GB, free: 6.004 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.222, allocations: 333.6 kB / 1.423 GB, free: 5.68 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/1.224, allocations: 0.549 MB / 1.423 GB, free: 5.422 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/1.226, allocations: 0.7563 MB / 1.424 GB, free: 4.922 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003503/1.229, allocations: 1.19 MB / 1.425 GB, free: 4.23 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.229, allocations: 1.156 kB / 1.425 GB, free: 4.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004531/1.234, allocations: 1.447 MB / 1.427 GB, free: 3.523 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/1.234, allocations: 8.531 kB / 1.427 GB, free: 3.523 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.234, allocations: 9.406 kB / 1.427 GB, free: 3.52 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.234, allocations: 7.656 kB / 1.427 GB, free: 3.52 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.235, allocations: 251.1 kB / 1.427 GB, free: 3.441 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/1.235, allocations: 16.47 kB / 1.427 GB, free: 3.434 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/1.237, allocations: 192.1 kB / 1.427 GB, free: 3.324 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.237, allocations: 43.78 kB / 1.427 GB, free: 3.309 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.0008773/1.238, allocations: 356 kB / 1.428 GB, free: 3.047 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/1.239, allocations: 155.4 kB / 1.428 GB, free: 2.961 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/1.243, allocations: 1.404 MB / 1.429 GB, free: 2.23 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/1.243, allocations: 14.81 kB / 1.429 GB, free: 2.223 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.243, allocations: 1.625 kB / 1.429 GB, free: 2.223 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00355/1.246, allocations: 1.262 MB / 1.43 GB, free: 1.543 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00724/1.254, allocations: 2.964 MB / 1.433 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.254, allocations: 1.344 kB / 1.433 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.255, allocations: 208.3 kB / 1.434 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/1.255, allocations: 12.52 kB / 1.434 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.339e-05/1.255, allocations: 21.36 kB / 1.434 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.255, allocations: 5.188 kB / 1.434 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/1.255, allocations: 13.2 kB / 1.434 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006201/1.261, allocations: 2.232 MB / 1.436 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.262, allocations: 357 kB / 1.436 GB, free: 13.97 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/1.263, allocations: 21.2 kB / 1.436 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.264, allocations: 118.9 kB / 1.436 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.264, allocations: 63.23 kB / 1.436 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/1.264, allocations: 33.16 kB / 1.436 GB, free: 13.85 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001629/1.266, allocations: 0.9951 MB / 1.437 GB, free: 13.31 MB / 1.123 GB Notification: Performance of sort global known variables: time 9.1e-08/1.266, allocations: 0 / 1.437 GB, free: 13.31 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00169/1.267, allocations: 469.2 kB / 1.438 GB, free: 13.2 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.007248/1.275, allocations: 3.112 MB / 1.441 GB, free: 11.3 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003929/1.279, allocations: 1.239 MB / 1.442 GB, free: 10.76 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/1.279, allocations: 4.062 kB / 1.442 GB, free: 10.75 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002/1.281, allocations: 0.6227 MB / 1.443 GB, free: 10.47 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005285/1.286, allocations: 0.7648 MB / 1.443 GB, free: 10.06 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0304/1.316, allocations: 12.39 MB / 1.455 GB, free: 15.01 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/1.318, allocations: 1.225 MB / 1.457 GB, free: 13.75 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00191/1.32, allocations: 306.1 kB / 1.457 GB, free: 13.45 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.321, allocations: 0.5656 MB / 1.457 GB, free: 12.89 MB / 1.139 GB Notification: Performance of SimCode: time 1.092e-06/1.321, allocations: 0 / 1.457 GB, free: 12.89 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08761/1.409, allocations: 42.73 MB / 1.499 GB, free: 2.652 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/13.08, allocations: 8 kB / 1.499 GB, free: 2.645 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.240052812965587]