Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002324/0.002324, allocations: 191.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.933/2.933, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 59.91 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8452/0.8472, allocations: 168.7 MB / 1.274 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02174/0.8689, allocations: 14.67 MB / 1.288 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006374/0.8753, allocations: 3.67 MB / 1.292 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006951/0.876, allocations: 19.88 kB / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008263/0.8768, allocations: 222.6 kB / 1.292 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.8788, allocations: 0.6025 MB / 1.293 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.88, allocations: 405.2 kB / 1.293 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.8818, allocations: 1.095 MB / 1.294 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.8823, allocations: 263.1 kB / 1.294 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.8834, allocations: 411.1 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.8839, allocations: 322.6 kB / 1.295 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.8839, allocations: 36 kB / 1.295 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007321/0.8847, allocations: 263.5 kB / 1.295 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.8848, allocations: 103.6 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.8851, allocations: 207 kB / 1.296 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.8861, allocations: 0.5955 MB / 1.296 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8861, allocations: 4 kB / 1.296 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8861, allocations: 3.938 kB / 1.296 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.8861, allocations: 3.938 kB / 1.296 GB, free: 13.49 MB / 0.9981 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.001486/0.8876, allocations: 0.7492 MB / 1.297 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.8877, allocations: 8.031 kB / 1.297 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.8879, allocations: 56.64 kB / 1.297 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.8889, allocations: 475.8 kB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.8889, allocations: 16.94 kB / 1.298 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.8889, allocations: 31.94 kB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/0.8896, allocations: 310.2 kB / 1.298 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.8896, allocations: 0 / 1.298 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.8896, allocations: 15.98 kB / 1.298 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.8897, allocations: 8 kB / 1.298 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.8901, allocations: 198 kB / 1.298 GB, free: 11.53 MB / 0.9981 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.002091/0.8922, allocations: 1.481 MB / 1.3 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.8928, allocations: 150.6 kB / 1.3 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.893, allocations: 60.81 kB / 1.3 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.8931, allocations: 85.11 kB / 1.3 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003824/0.8935, allocations: 127.3 kB / 1.3 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/0.8935, allocations: 0 / 1.3 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007102/0.8942, allocations: 239.7 kB / 1.3 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.8943, allocations: 55.34 kB / 1.3 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.8948, allocations: 349.7 kB / 1.301 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.8948, allocations: 33.7 kB / 1.301 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.895, allocations: 220.1 kB / 1.301 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.397e-05/0.8951, allocations: 59.47 kB / 1.301 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/0.8952, allocations: 53.66 kB / 1.301 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.8954, allocations: 342.8 kB / 1.301 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.8956, allocations: 75.95 kB / 1.301 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.8959, allocations: 145.4 kB / 1.302 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.8964, allocations: 241 kB / 1.302 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8964, allocations: 0 / 1.302 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006877/0.897, allocations: 318.8 kB / 1.302 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.8971, allocations: 33.7 kB / 1.302 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8971, allocations: 0 / 1.302 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.8971, allocations: 4 kB / 1.302 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.8974, allocations: 67.83 kB / 1.302 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.8974, allocations: 4.312 kB / 1.302 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.8977, allocations: 39.77 kB / 1.302 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.8977, allocations: 8 kB / 1.302 GB, free: 7.09 MB / 0.9981 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.0002488/0.898, allocations: 162.2 kB / 1.302 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.8981, allocations: 31.81 kB / 1.302 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.8986, allocations: 196.4 kB / 1.303 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.8986, allocations: 11.92 kB / 1.303 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8986, allocations: 7.938 kB / 1.303 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006511/0.8993, allocations: 479.8 kB / 1.303 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/0.8999, allocations: 357.3 kB / 1.303 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.8999, allocations: 0 / 1.303 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.9001, allocations: 35.92 kB / 1.303 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9001, allocations: 0 / 1.303 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.9002, allocations: 0 / 1.303 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.9002, allocations: 11.94 kB / 1.303 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9002, allocations: 4 kB / 1.303 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.9009, allocations: 282.3 kB / 1.304 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.9011, allocations: 124.9 kB / 1.304 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.9012, allocations: 4 kB / 1.304 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.9014, allocations: 19.91 kB / 1.304 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.9015, allocations: 23.92 kB / 1.304 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.9015, allocations: 7.984 kB / 1.304 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003715/0.9019, allocations: 247.2 kB / 1.304 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9019, allocations: 0 / 1.304 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005874/0.9025, allocations: 127.7 kB / 1.304 GB, free: 4.809 MB / 0.9981 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.0005302/0.903, allocations: 191 kB / 1.304 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006898/0.9037, allocations: 221.3 kB / 1.305 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.9037, allocations: 4 kB / 1.305 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.9039, allocations: 66 kB / 1.305 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.905, allocations: 213.1 kB / 1.305 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.9066, allocations: 0.7574 MB / 1.306 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.9071, allocations: 0.7879 MB / 1.306 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002798/0.9074, allocations: 71.17 kB / 1.306 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.9075, allocations: 35.42 kB / 1.306 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/0.9075, allocations: 3.938 kB / 1.307 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of Templates: time 0.01572/0.9232, allocations: 7.278 MB / 1.314 GB, free: 11.24 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.331824213732034]