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.001983/0.001983, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002631/0.002631, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.618/1.618, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 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.428/3.428, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.8776 GB, free: 5.395 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.61e-05, allocations: 3.031 kB / 0.8776 GB, free: 5.391 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.07208/0.07211, allocations: 49.05 MB / 0.9255 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.09637, allocations: 11.62 MB / 0.9368 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.09976, allocations: 91.25 kB / 0.9369 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003164/0.1029, allocations: 0.7603 MB / 0.9377 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.008769/0.1117, allocations: 2.393 MB / 0.94 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00618/0.1179, allocations: 1.776 MB / 0.9417 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00818/0.1261, allocations: 4.096 MB / 0.9457 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.1289, allocations: 1.024 MB / 0.9467 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007638/0.1365, allocations: 2.244 MB / 0.9489 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.1392, allocations: 0.9501 MB / 0.9499 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.00063/0.1399, allocations: 140 kB / 0.95 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.1433, allocations: 0.8923 MB / 0.9509 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009476/0.1443, allocations: 478.2 kB / 0.9513 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.1464, allocations: 0.5883 MB / 0.9519 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.007253/0.1537, allocations: 2.683 MB / 0.9545 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1537, allocations: 0 / 0.9545 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1537, allocations: 0 / 0.9545 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.665e-05/0.1538, allocations: 3.938 kB / 0.9545 GB, free: 6.383 MB / 0.8698 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.004967/0.1587, allocations: 2.042 MB / 0.9565 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.1588, allocations: 12.03 kB / 0.9565 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.1627, allocations: 0.6864 MB / 0.9572 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.166, allocations: 1.499 MB / 0.9587 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.1663, allocations: 157.2 kB / 0.9588 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.1665, allocations: 104 kB / 0.9589 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.1701, allocations: 1.504 MB / 0.9604 GB, free: 216 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.1702, allocations: 0 / 0.9604 GB, free: 216 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.1703, allocations: 43.97 kB / 0.9604 GB, free: 172 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-05/0.1703, allocations: 32 kB / 0.9605 GB, free: 140 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00394/0.1743, allocations: 1.413 MB / 0.9618 GB, free: 14.72 MB / 0.8855 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.008828/0.1831, allocations: 4.249 MB / 0.966 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.1863, allocations: 1.036 MB / 0.967 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.188, allocations: 0.5722 MB / 0.9676 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003971/0.1884, allocations: 108.4 kB / 0.9677 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/0.1905, allocations: 0.8242 MB / 0.9685 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.727e-06/0.1905, allocations: 0 / 0.9685 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.006035/0.1965, allocations: 1.769 MB / 0.9702 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.1966, allocations: 59.84 kB / 0.9702 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.1987, allocations: 1.303 MB / 0.9715 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.1988, allocations: 45.7 kB / 0.9716 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008259/0.1997, allocations: 0.6854 MB / 0.9722 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.1999, allocations: 210.2 kB / 0.9724 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/0.2003, allocations: 198.5 kB / 0.9726 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.2005, allocations: 341.9 kB / 0.9729 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.2023, allocations: 0.5679 MB / 0.9735 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.2046, allocations: 1.129 MB / 0.9746 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003675/0.2083, allocations: 1.349 MB / 0.9759 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-06/0.2083, allocations: 0 / 0.9759 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004891/0.2132, allocations: 1.59 MB / 0.9775 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.2132, allocations: 12 kB / 0.9775 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.2132, allocations: 8 kB / 0.9775 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.576e-05/0.2133, allocations: 12 kB / 0.9775 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.2147, allocations: 283.7 kB / 0.9778 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.313e-05/0.2147, allocations: 27.86 kB / 0.9778 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.2163, allocations: 171.3 kB / 0.978 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.2164, allocations: 55.97 kB / 0.978 GB, free: 13.62 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (110): * Single equations (assignments): 110 * 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.000881/0.2173, allocations: 381.4 kB / 0.9784 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.2177, allocations: 159.1 kB / 0.9785 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.2219, allocations: 1.408 MB / 0.9799 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.2219, allocations: 8 kB / 0.9799 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.2219, allocations: 3.938 kB / 0.9799 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003611/0.2255, allocations: 1.273 MB / 0.9812 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00706/0.2326, allocations: 2.636 MB / 0.9837 GB, free: 7.645 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.2326, allocations: 4 kB / 0.9837 GB, free: 7.641 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.2338, allocations: 207.9 kB / 0.9839 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/0.2339, allocations: 4 kB / 0.9839 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.211e-05/0.234, allocations: 27.97 kB / 0.984 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.234, allocations: 4 kB / 0.984 GB, free: 7.402 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/0.234, allocations: 11.94 kB / 0.984 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006416/0.2404, allocations: 2.243 MB / 0.9862 GB, free: 5.102 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008253/0.2412, allocations: 282.6 kB / 0.9864 GB, free: 4.824 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.2415, allocations: 12 kB / 0.9865 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.2429, allocations: 111.9 kB / 0.9866 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.2431, allocations: 52.41 kB / 0.9866 GB, free: 4.652 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.2432, allocations: 39.91 kB / 0.9866 GB, free: 4.613 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002061/0.2452, allocations: 0.8784 MB / 0.9875 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2452, allocations: 0 / 0.9875 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002187/0.2474, allocations: 498.8 kB / 0.988 GB, free: 3.246 MB / 0.9011 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.001343/0.2488, allocations: 444.2 kB / 0.9884 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004253/0.253, allocations: 1.298 MB / 0.9897 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.253, allocations: 4 kB / 0.9897 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.2551, allocations: 0.628 MB / 0.9903 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/0.2588, allocations: 0.6132 MB / 0.9909 GB, free: 272 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/0.2668, allocations: 2.748 MB / 0.9936 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.268, allocations: 0.6644 MB / 0.9942 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001441/0.2694, allocations: 284.9 kB / 0.9945 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/0.27, allocations: 120.4 kB / 0.9946 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of SimCode: time 2.175e-06/0.27, allocations: 3.938 kB / 0.9946 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of Templates: time 0.05629/0.3263, allocations: 27.06 MB / 1.021 GB, free: 1.793 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/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: 10.755480848019943]