Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.0009316/0.0009316, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008934/0.0008934, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8622/0.8622, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.729/1.729, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.833e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01087/0.0109, allocations: 13.42 MB / 1.014 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004065/0.01496, allocations: 3.393 MB / 1.017 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005204/0.01548, allocations: 27.81 kB / 1.017 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006002/0.01609, allocations: 202.6 kB / 1.018 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.01745, allocations: 0.647 MB / 1.018 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.01819, allocations: 413.5 kB / 1.019 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.01956, allocations: 1.11 MB / 1.02 GB, free: 9.754 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.01992, allocations: 252.9 kB / 1.02 GB, free: 9.504 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.02099, allocations: 0.5674 MB / 1.02 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.02131, allocations: 275.1 kB / 1.021 GB, free: 8.668 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.02135, allocations: 32 kB / 1.021 GB, free: 8.637 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.02177, allocations: 219.5 kB / 1.021 GB, free: 8.422 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 9.078e-05/0.02186, allocations: 103.5 kB / 1.021 GB, free: 8.32 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.02199, allocations: 151.7 kB / 1.021 GB, free: 8.172 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.000698/0.02269, allocations: 0.6114 MB / 1.022 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.02269, allocations: 0 / 1.022 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.332e-06/0.02269, allocations: 0 / 1.022 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.0227, allocations: 0 / 1.022 GB, free: 7.559 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009049/0.0236, allocations: 0.6854 MB / 1.022 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.02364, allocations: 8.75 kB / 1.022 GB, free: 6.828 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.02379, allocations: 48.7 kB / 1.022 GB, free: 6.781 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.02438, allocations: 412 kB / 1.023 GB, free: 6.352 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.0244, allocations: 20.88 kB / 1.023 GB, free: 6.328 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.02444, allocations: 24.38 kB / 1.023 GB, free: 6.305 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.0249, allocations: 420.3 kB / 1.023 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.02492, allocations: 4 kB / 1.023 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.02494, allocations: 8 kB / 1.023 GB, free: 5.84 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.02497, allocations: 11.94 kB / 1.023 GB, free: 5.828 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.02526, allocations: 197.8 kB / 1.024 GB, free: 5.637 MB / 0.9792 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.001137/0.0264, allocations: 1.097 MB / 1.025 GB, free: 4.488 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.02671, allocations: 150.6 kB / 1.025 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.161e-05/0.02681, allocations: 60.83 kB / 1.025 GB, free: 4.27 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.274e-05/0.0269, allocations: 11.98 kB / 1.025 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.02714, allocations: 234.1 kB / 1.025 GB, free: 3.992 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/0.02714, allocations: 0 / 1.025 GB, free: 3.992 MB / 0.9792 GB Notification: Performance of matching and sorting (n=15): time 0.0004217/0.02756, allocations: 232.1 kB / 1.025 GB, free: 3.762 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.0276, allocations: 63.34 kB / 1.025 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.02784, allocations: 328.5 kB / 1.026 GB, free: 3.355 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.02786, allocations: 29.7 kB / 1.026 GB, free: 3.32 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.02798, allocations: 224.4 kB / 1.026 GB, free: 3.098 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.02802, allocations: 55.53 kB / 1.026 GB, free: 3.043 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.02809, allocations: 57.64 kB / 1.026 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.02818, allocations: 342.8 kB / 1.026 GB, free: 2.637 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.02833, allocations: 93.66 kB / 1.026 GB, free: 2.539 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.02848, allocations: 183 kB / 1.027 GB, free: 2.32 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.02872, allocations: 245 kB / 1.027 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.02872, allocations: 0 / 1.027 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003581/0.02908, allocations: 350.6 kB / 1.027 GB, free: 1.684 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.02912, allocations: 35.73 kB / 1.027 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.02913, allocations: 0 / 1.027 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.02914, allocations: 4 kB / 1.027 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.02931, allocations: 60.22 kB / 1.027 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.02932, allocations: 7.984 kB / 1.027 GB, free: 1.574 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.02946, allocations: 31.83 kB / 1.027 GB, free: 1.543 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.02947, allocations: 12 kB / 1.027 GB, free: 1.531 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001271/0.0296, allocations: 161.7 kB / 1.027 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.02964, allocations: 31.81 kB / 1.027 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.02992, allocations: 192.5 kB / 1.028 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.02993, allocations: 3.938 kB / 1.028 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.02993, allocations: 3.984 kB / 1.028 GB, free: 1.133 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002863/0.03022, allocations: 483.6 kB / 1.028 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.0305, allocations: 261 kB / 1.028 GB, free: 296 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.0305, allocations: 0 / 1.028 GB, free: 296 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.03059, allocations: 31.97 kB / 1.028 GB, free: 264 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.03059, allocations: 0 / 1.028 GB, free: 264 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.0306, allocations: 4 kB / 1.028 GB, free: 260 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.03061, allocations: 8 kB / 1.028 GB, free: 252 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.03061, allocations: 0 / 1.028 GB, free: 252 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.03098, allocations: 286.6 kB / 1.029 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.03107, allocations: 51.77 kB / 1.029 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.0311, allocations: 4 kB / 1.029 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.03121, allocations: 11.98 kB / 1.029 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.03127, allocations: 19.97 kB / 1.029 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.03128, allocations: 11.98 kB / 1.029 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002482/0.03153, allocations: 227.1 kB / 1.029 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03153, allocations: 0 / 1.029 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003664/0.0319, allocations: 135.6 kB / 1.029 GB, free: 15.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003485/0.03225, allocations: 187 kB / 1.029 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003514/0.0326, allocations: 248.8 kB / 1.03 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.0326, allocations: 4.625 kB / 1.03 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.979e-05/0.0327, allocations: 71.89 kB / 1.03 GB, free: 14.97 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.03325, allocations: 203.5 kB / 1.03 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009738/0.03422, allocations: 0.6726 MB / 1.03 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.03433, allocations: 185.1 kB / 1.031 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.03441, allocations: 36.48 kB / 1.031 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of SimCode: time 1.092e-06/0.03441, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of Templates: time 0.00675/0.04116, allocations: 6.135 MB / 1.037 GB, free: 7.734 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.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: 7.603376452811062]