Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 104 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.88 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.089, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01637/1.105, allocations: 14.43 MB / 1.103 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006516/1.112, allocations: 3.655 MB / 1.106 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008225/1.113, allocations: 15.91 kB / 1.106 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008136/1.114, allocations: 211.9 kB / 1.106 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/1.116, allocations: 0.6064 MB / 1.107 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/1.117, allocations: 397.7 kB / 1.107 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002139/1.119, allocations: 1.086 MB / 1.109 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006637/1.12, allocations: 316.7 kB / 1.109 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/1.121, allocations: 403.2 kB / 1.109 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/1.121, allocations: 301.7 kB / 1.109 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/1.122, allocations: 32.03 kB / 1.11 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000842/1.122, allocations: 259.8 kB / 1.11 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/1.123, allocations: 102.7 kB / 1.11 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/1.123, allocations: 216.6 kB / 1.11 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/1.124, allocations: 0.5886 MB / 1.111 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.124, allocations: 0 / 1.111 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.753e-06/1.124, allocations: 0 / 1.111 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.376e-06/1.124, allocations: 0 / 1.111 GB, free: 6.406 MB / 0.8731 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.001359/1.125, allocations: 0.7487 MB / 1.111 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.125, allocations: 12.41 kB / 1.111 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/1.126, allocations: 51.17 kB / 1.111 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/1.126, allocations: 463.7 kB / 1.112 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/1.126, allocations: 19.53 kB / 1.112 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/1.127, allocations: 31.14 kB / 1.112 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/1.127, allocations: 306.9 kB / 1.112 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.127, allocations: 5.156 kB / 1.112 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/1.127, allocations: 11.48 kB / 1.112 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/1.127, allocations: 6.844 kB / 1.112 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/1.128, allocations: 191.8 kB / 1.112 GB, free: 5.191 MB / 0.8731 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.002106/1.13, allocations: 1.491 MB / 1.114 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/1.13, allocations: 161.4 kB / 1.114 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/1.131, allocations: 65 kB / 1.114 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/1.131, allocations: 89.11 kB / 1.114 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/1.131, allocations: 130.9 kB / 1.114 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/1.131, allocations: 0 / 1.114 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0006832/1.132, allocations: 231.3 kB / 1.115 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/1.132, allocations: 59.5 kB / 1.115 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/1.132, allocations: 351.2 kB / 1.115 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/1.132, allocations: 28.17 kB / 1.115 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/1.133, allocations: 211.9 kB / 1.115 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.479e-05/1.133, allocations: 59.36 kB / 1.115 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/1.133, allocations: 57.17 kB / 1.115 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.133, allocations: 341.4 kB / 1.116 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/1.133, allocations: 68.81 kB / 1.116 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/1.133, allocations: 152.6 kB / 1.116 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/1.134, allocations: 248 kB / 1.116 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.134, allocations: 1.859 kB / 1.116 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006433/1.135, allocations: 309.6 kB / 1.116 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/1.135, allocations: 33.78 kB / 1.116 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.135, allocations: 2.688 kB / 1.116 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.135, allocations: 3.625 kB / 1.116 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/1.135, allocations: 63.38 kB / 1.116 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.135, allocations: 8.703 kB / 1.116 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/1.135, allocations: 36.58 kB / 1.116 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/1.135, allocations: 13.5 kB / 1.116 GB, free: 2.211 MB / 0.8731 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.0001841/1.135, allocations: 156.8 kB / 1.117 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/1.135, allocations: 31.97 kB / 1.117 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/1.136, allocations: 198.7 kB / 1.117 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.136, allocations: 5.219 kB / 1.117 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.136, allocations: 1.438 kB / 1.117 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005218/1.137, allocations: 483.4 kB / 1.117 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/1.137, allocations: 357.9 kB / 1.118 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.137, allocations: 0.7031 kB / 1.118 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/1.137, allocations: 28.8 kB / 1.118 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/1.137, allocations: 1.719 kB / 1.118 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/1.137, allocations: 10.88 kB / 1.118 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.137, allocations: 3.938 kB / 1.118 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.137, allocations: 0.875 kB / 1.118 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/1.138, allocations: 282.5 kB / 1.118 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/1.138, allocations: 125.7 kB / 1.118 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/1.138, allocations: 5.828 kB / 1.118 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/1.138, allocations: 26.33 kB / 1.118 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/1.139, allocations: 16.36 kB / 1.118 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/1.139, allocations: 7.641 kB / 1.118 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003052/1.139, allocations: 246.6 kB / 1.118 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.139, allocations: 0 / 1.118 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006424/1.14, allocations: 124.6 kB / 1.118 GB, free: 0.7812 MB / 0.8731 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.0005147/1.14, allocations: 208.5 kB / 1.119 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000605/1.141, allocations: 226.1 kB / 1.119 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.141, allocations: 1.5 kB / 1.119 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/1.141, allocations: 69.52 kB / 1.119 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/1.142, allocations: 212.7 kB / 1.119 GB, free: 472 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.144, allocations: 0.7614 MB / 1.12 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/1.144, allocations: 0.7895 MB / 1.121 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/1.144, allocations: 37.38 kB / 1.121 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/1.144, allocations: 4 kB / 1.121 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of Templates: time 0.01493/1.159, allocations: 6.159 MB / 1.127 GB, free: 14.51 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches