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.001785/0.001785, allocations: 92.7 kB / 19.44 MB, free: 324 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.002288/0.002288, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.347/3.347, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.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.523e-06/1.523e-06, allocations: 0 / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.967e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02262/0.02265, allocations: 13.44 MB / 0.8907 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00909/0.03174, allocations: 3.396 MB / 0.894 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.03284, allocations: 27.81 kB / 0.894 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.03405, allocations: 210.6 kB / 0.8942 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.03707, allocations: 0.637 MB / 0.8949 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.03879, allocations: 426.7 kB / 0.8953 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002594/0.04139, allocations: 1.102 MB / 0.8963 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00074/0.04213, allocations: 269.6 kB / 0.8966 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.04424, allocations: 0.5717 MB / 0.8972 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.04492, allocations: 283.1 kB / 0.8974 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.04504, allocations: 32 kB / 0.8975 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009178/0.04596, allocations: 215.5 kB / 0.8977 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.04619, allocations: 111.5 kB / 0.8978 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003804/0.04657, allocations: 147.7 kB / 0.8979 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.04819, allocations: 0.6153 MB / 0.8985 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.04819, allocations: 0 / 0.8985 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.783e-06/0.0482, allocations: 0 / 0.8985 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.04821, allocations: 0 / 0.8985 GB, free: 1.035 MB / 0.8542 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.002065/0.05028, allocations: 0.6816 MB / 0.8992 GB, free: 324 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.05033, allocations: 8.031 kB / 0.8992 GB, free: 316 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.05074, allocations: 80.53 kB / 0.8993 GB, free: 236 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.05213, allocations: 428.9 kB / 0.8997 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.05218, allocations: 20.88 kB / 0.8997 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.05229, allocations: 28.38 kB / 0.8997 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.05341, allocations: 411.5 kB / 0.9001 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.05344, allocations: 7.891 kB / 0.9001 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.0535, allocations: 12 kB / 0.9001 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.05353, allocations: 8 kB / 0.9001 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008241/0.05436, allocations: 197.8 kB / 0.9003 GB, free: 15.07 MB / 0.8698 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.002945/0.0573, allocations: 1.097 MB / 0.9014 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.05804, allocations: 154.6 kB / 0.9015 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.05832, allocations: 64.83 kB / 0.9016 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.05846, allocations: 11.98 kB / 0.9016 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006178/0.05907, allocations: 238 kB / 0.9018 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.05908, allocations: 0 / 0.9018 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0009805/0.06006, allocations: 236.4 kB / 0.9021 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.06013, allocations: 63.34 kB / 0.9021 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.06072, allocations: 328.5 kB / 0.9024 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.06077, allocations: 25.7 kB / 0.9025 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.06106, allocations: 224.4 kB / 0.9027 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.06116, allocations: 51.53 kB / 0.9027 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.06131, allocations: 57.64 kB / 0.9028 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002792/0.06159, allocations: 338.8 kB / 0.9031 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.06194, allocations: 93.66 kB / 0.9032 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/0.06244, allocations: 192 kB / 0.9034 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.06318, allocations: 236.7 kB / 0.9036 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.06318, allocations: 8 kB / 0.9036 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00112/0.0643, allocations: 354.4 kB / 0.904 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.06436, allocations: 33.7 kB / 0.904 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.06437, allocations: 0 / 0.904 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-05/0.06441, allocations: 4.312 kB / 0.904 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.06479, allocations: 59.91 kB / 0.904 GB, free: 11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/0.06482, allocations: 11.92 kB / 0.9041 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.06523, allocations: 31.83 kB / 0.9041 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.06528, allocations: 12 kB / 0.9041 GB, free: 10.95 MB / 0.8698 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.0002904/0.06557, allocations: 157.7 kB / 0.9043 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.0657, allocations: 43.73 kB / 0.9043 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.06643, allocations: 188.5 kB / 0.9045 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.06644, allocations: 4 kB / 0.9045 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.06645, allocations: 3.938 kB / 0.9045 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008855/0.06734, allocations: 487.7 kB / 0.9049 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.06801, allocations: 249.1 kB / 0.9052 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.06801, allocations: 3.938 kB / 0.9052 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.06827, allocations: 35.91 kB / 0.9052 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.06828, allocations: 4 kB / 0.9052 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.0683, allocations: 4 kB / 0.9052 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.0683, allocations: 0 / 0.9052 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0683, allocations: 0 / 0.9052 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.06936, allocations: 287.1 kB / 0.9055 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.06956, allocations: 47.77 kB / 0.9056 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/0.06964, allocations: 8 kB / 0.9056 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.06999, allocations: 11.98 kB / 0.9056 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.0701, allocations: 23.91 kB / 0.9056 GB, free: 9.273 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.07014, allocations: 15.92 kB / 0.9056 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004606/0.0706, allocations: 227.1 kB / 0.9058 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.0706, allocations: 0 / 0.9058 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008642/0.07146, allocations: 135.6 kB / 0.906 GB, free: 8.902 MB / 0.8698 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.0005312/0.07199, allocations: 191.1 kB / 0.9061 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008562/0.07285, allocations: 245.3 kB / 0.9064 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.07285, allocations: 128 / 0.9064 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.07317, allocations: 75.89 kB / 0.9064 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.07461, allocations: 193.3 kB / 0.9066 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.07681, allocations: 0.6645 MB / 0.9073 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.07713, allocations: 189.1 kB / 0.9075 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004136/0.07754, allocations: 63.19 kB / 0.9075 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.07768, allocations: 40.42 kB / 0.9076 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of SimCode: time 7.91e-07/0.07769, allocations: 0 / 0.9076 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of Templates: time 0.01972/0.0974, allocations: 7.239 MB / 0.9146 GB, free: 124 kB / 0.8698 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: 8.862534155021422]