Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001346/0.001346, 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.001503/0.001503, 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.948/2.948, allocations: 476.7 MB / 0.7678 GB, free: 9.332 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_11_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.002022/0.002022, allocations: 71.89 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9523/0.9543, allocations: 169.9 MB / 1.279 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.08016/1.034, allocations: 54.08 MB / 1.332 GB, free: 4.945 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02237/1.057, allocations: 11.53 MB / 1.343 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/1.06, allocations: 83.81 kB / 1.343 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002843/1.063, allocations: 0.7919 MB / 1.344 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008251/1.071, allocations: 2.276 MB / 1.346 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004914/1.076, allocations: 1.384 MB / 1.347 GB, free: 8.984 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007481/1.084, allocations: 3.934 MB / 1.351 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002669/1.086, allocations: 1.054 MB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005697/1.092, allocations: 1.453 MB / 1.354 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/1.095, allocations: 1.143 MB / 1.355 GB, free: 4.312 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005031/1.096, allocations: 139.6 kB / 1.355 GB, free: 4.312 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/1.1, allocations: 1.109 MB / 1.356 GB, free: 3.719 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006951/1.101, allocations: 456.7 kB / 1.356 GB, free: 3.379 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00191/1.103, allocations: 0.8546 MB / 1.357 GB, free: 2.793 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005572/1.108, allocations: 2.648 MB / 1.36 GB, free: 1.012 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.108, allocations: 3.938 kB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.824e-06/1.108, allocations: 0 / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.691e-05/1.108, allocations: 4 kB / 1.36 GB, free: 1.004 MB / 1.045 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.005438/1.114, allocations: 2.074 MB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.114, allocations: 10.12 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.84e-05/1.114, allocations: 27.47 kB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/1.114, allocations: 146.9 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/1.118, allocations: 0.5764 MB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/1.121, allocations: 1.419 MB / 1.364 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/1.121, allocations: 120 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/1.121, allocations: 99.44 kB / 1.364 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/1.124, allocations: 1.347 MB / 1.366 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/1.124, allocations: 5.531 kB / 1.366 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/1.125, allocations: 43.86 kB / 1.366 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/1.125, allocations: 23.59 kB / 1.366 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00425/1.129, allocations: 1.428 MB / 1.367 GB, free: 12.32 MB / 1.061 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.01007/1.139, allocations: 5.371 MB / 1.372 GB, free: 7.988 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/1.142, allocations: 1.022 MB / 1.373 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/1.144, allocations: 0.5796 MB / 1.374 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000991/1.145, allocations: 1.065 MB / 1.375 GB, free: 5.965 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001914/1.147, allocations: 0.6721 MB / 1.376 GB, free: 5.586 MB / 1.061 GB Notification: Performance of pre-optimization done (n=60): time 4.799e-06/1.147, allocations: 5.109 kB / 1.376 GB, free: 5.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=60): time 0.005913/1.152, allocations: 1.767 MB / 1.377 GB, free: 4.742 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/1.153, allocations: 57.38 kB / 1.377 GB, free: 4.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/1.155, allocations: 1.413 MB / 1.379 GB, free: 3.922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002433/1.155, allocations: 42.55 kB / 1.379 GB, free: 3.879 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/1.156, allocations: 0.6506 MB / 1.379 GB, free: 3.301 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/1.156, allocations: 220.3 kB / 1.38 GB, free: 3.109 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/1.156, allocations: 167.1 kB / 1.38 GB, free: 3.004 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.157, allocations: 332.8 kB / 1.38 GB, free: 2.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/1.158, allocations: 0.5486 MB / 1.381 GB, free: 2.426 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/1.16, allocations: 0.7598 MB / 1.381 GB, free: 1.922 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/1.164, allocations: 1.19 MB / 1.383 GB, free: 1.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.164, allocations: 1.469 kB / 1.383 GB, free: 1.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004463/1.168, allocations: 1.449 MB / 1.384 GB, free: 15.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/1.168, allocations: 8 kB / 1.384 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.168, allocations: 4 kB / 1.384 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/1.168, allocations: 8 kB / 1.384 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.169, allocations: 256 kB / 1.384 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.169, allocations: 11.94 kB / 1.384 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.171, allocations: 191.1 kB / 1.384 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.171, allocations: 43.97 kB / 1.384 GB, free: 15.29 MB / 1.076 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.0007189/1.172, allocations: 345.6 kB / 1.385 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/1.172, allocations: 162.9 kB / 1.385 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004381/1.177, allocations: 1.411 MB / 1.386 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.177, allocations: 4 kB / 1.386 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.177, allocations: 8 kB / 1.386 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003659/1.18, allocations: 1.263 MB / 1.388 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/1.188, allocations: 2.962 MB / 1.39 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.188, allocations: 11.97 kB / 1.39 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.189, allocations: 207.7 kB / 1.391 GB, free: 8.781 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/1.189, allocations: 4 kB / 1.391 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-05/1.189, allocations: 23.97 kB / 1.391 GB, free: 8.754 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.189, allocations: 4 kB / 1.391 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/1.189, allocations: 7.938 kB / 1.391 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006096/1.195, allocations: 2.231 MB / 1.393 GB, free: 6.469 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009496/1.196, allocations: 363.7 kB / 1.393 GB, free: 6.094 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/1.196, allocations: 12 kB / 1.393 GB, free: 6.082 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/1.198, allocations: 123.9 kB / 1.393 GB, free: 5.961 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.198, allocations: 56.38 kB / 1.393 GB, free: 5.906 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.198, allocations: 39.95 kB / 1.393 GB, free: 5.867 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001559/1.199, allocations: 0.9947 MB / 1.394 GB, free: 4.875 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.199, allocations: 0 / 1.394 GB, free: 4.875 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001739/1.201, allocations: 467 kB / 1.395 GB, free: 4.418 MB / 1.076 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.007453/1.209, allocations: 3.105 MB / 1.398 GB, free: 1.258 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00405/1.213, allocations: 1.246 MB / 1.399 GB, free: 16 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.213, allocations: 4 kB / 1.399 GB, free: 12 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/1.215, allocations: 0.6246 MB / 1.4 GB, free: 15.39 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004349/1.219, allocations: 0.7671 MB / 1.4 GB, free: 14.63 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02579/1.245, allocations: 12.35 MB / 1.413 GB, free: 1.984 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/1.246, allocations: 1.229 MB / 1.414 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001511/1.248, allocations: 311.3 kB / 1.414 GB, free: 428 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009468/1.248, allocations: 0.5657 MB / 1.415 GB, free: 15.85 MB / 1.107 GB Notification: Performance of SimCode: time 1.313e-06/1.248, allocations: 0 / 1.415 GB, free: 15.85 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08582/1.334, allocations: 42.71 MB / 1.456 GB, free: 5.668 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.99, allocations: 8.984 kB / 1.456 GB, free: 5.664 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.79376443196088]