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.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.0008829/0.0008829, allocations: 72.5 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.0008056/0.0008056, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8703/0.8703, allocations: 177.1 MB / 203.5 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.666/1.666, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.543e-06/1.543e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.442e-05, allocations: 6.281 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01068/0.01071, allocations: 13.41 MB / 0.9648 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.01405, allocations: 3.378 MB / 0.9681 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.01436, allocations: 31.75 kB / 0.9681 GB, free: 2.125 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.01482, allocations: 210.6 kB / 0.9683 GB, free: 1.918 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.01592, allocations: 0.6371 MB / 0.969 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.01659, allocations: 423.2 kB / 0.9694 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.01766, allocations: 1.102 MB / 0.9704 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.01801, allocations: 252.9 kB / 0.9707 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009124/0.01892, allocations: 0.5256 MB / 0.9712 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.01924, allocations: 267.2 kB / 0.9715 GB, free: 14.72 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.01928, allocations: 36 kB / 0.9715 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.01966, allocations: 227.3 kB / 0.9717 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.01975, allocations: 107.5 kB / 0.9718 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.01988, allocations: 147.6 kB / 0.9719 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007095/0.02059, allocations: 0.6153 MB / 0.9725 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.02059, allocations: 4 kB / 0.9726 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.565e-06/0.0206, allocations: 0 / 0.9726 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.0206, allocations: 0 / 0.9726 GB, free: 13.59 MB / 0.9323 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.0009351/0.02154, allocations: 0.6699 MB / 0.9732 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.02158, allocations: 8.031 kB / 0.9732 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.02173, allocations: 56.66 kB / 0.9733 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.0223, allocations: 415.9 kB / 0.9737 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.02233, allocations: 16.88 kB / 0.9737 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.02237, allocations: 28.38 kB / 0.9737 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.0228, allocations: 416.4 kB / 0.9741 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.02282, allocations: 0 / 0.9741 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.02284, allocations: 12 kB / 0.9741 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.02286, allocations: 8 kB / 0.9741 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.02314, allocations: 193.8 kB / 0.9743 GB, free: 11.68 MB / 0.9323 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.001118/0.02425, allocations: 1.093 MB / 0.9754 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.02456, allocations: 146.6 kB / 0.9755 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.02465, allocations: 68.81 kB / 0.9756 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.462e-05/0.02472, allocations: 4 kB / 0.9756 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.02496, allocations: 230.1 kB / 0.9758 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.02496, allocations: 0 / 0.9758 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0004021/0.02536, allocations: 233.3 kB / 0.976 GB, free: 9.812 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.0254, allocations: 51.41 kB / 0.9761 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.02564, allocations: 340.4 kB / 0.9764 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.02566, allocations: 25.7 kB / 0.9764 GB, free: 9.379 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.02579, allocations: 228.4 kB / 0.9766 GB, free: 9.148 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.02583, allocations: 55.52 kB / 0.9767 GB, free: 9.094 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.02589, allocations: 49.7 kB / 0.9767 GB, free: 9.039 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.02599, allocations: 350.7 kB / 0.9771 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.02611, allocations: 97.66 kB / 0.9772 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.02626, allocations: 179.5 kB / 0.9773 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.02651, allocations: 257 kB / 0.9776 GB, free: 8.082 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02651, allocations: 0 / 0.9776 GB, free: 8.082 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003645/0.02688, allocations: 342.6 kB / 0.9779 GB, free: 7.73 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.02691, allocations: 37.69 kB / 0.9779 GB, free: 7.688 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.02692, allocations: 4 kB / 0.978 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.02693, allocations: 4 kB / 0.978 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.02705, allocations: 60.16 kB / 0.978 GB, free: 7.621 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.02706, allocations: 4 kB / 0.978 GB, free: 7.617 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.02718, allocations: 27.88 kB / 0.978 GB, free: 7.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.0272, allocations: 16 kB / 0.9781 GB, free: 7.574 MB / 0.9323 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.0001204/0.02732, allocations: 161.7 kB / 0.9782 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.02736, allocations: 31.81 kB / 0.9782 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.02764, allocations: 196.4 kB / 0.9784 GB, free: 7.176 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.02765, allocations: 4 kB / 0.9784 GB, free: 7.172 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.02766, allocations: 7.938 kB / 0.9784 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002927/0.02795, allocations: 486.6 kB / 0.9789 GB, free: 6.605 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.0282, allocations: 249.1 kB / 0.9791 GB, free: 6.332 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.0282, allocations: 0 / 0.9791 GB, free: 6.332 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.02828, allocations: 27.98 kB / 0.9792 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.02828, allocations: 0 / 0.9792 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.0283, allocations: 11.98 kB / 0.9792 GB, free: 6.293 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.0283, allocations: 7.984 kB / 0.9792 GB, free: 6.285 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.0283, allocations: 0 / 0.9792 GB, free: 6.285 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.02866, allocations: 287.1 kB / 0.9795 GB, free: 5.988 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.02874, allocations: 43.83 kB / 0.9795 GB, free: 5.945 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.02876, allocations: 4 kB / 0.9795 GB, free: 5.941 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.987e-05/0.02886, allocations: 19.97 kB / 0.9795 GB, free: 5.922 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.02892, allocations: 19.91 kB / 0.9795 GB, free: 5.902 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.02894, allocations: 8 kB / 0.9796 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001655/0.02911, allocations: 235 kB / 0.9798 GB, free: 5.668 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.02911, allocations: 0 / 0.9798 GB, free: 5.668 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003055/0.02941, allocations: 119.8 kB / 0.9799 GB, free: 5.551 MB / 0.9323 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.0002975/0.02971, allocations: 199 kB / 0.9801 GB, free: 5.348 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.03004, allocations: 248.8 kB / 0.9803 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.03004, allocations: 0.625 kB / 0.9803 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.03013, allocations: 67.89 kB / 0.9804 GB, free: 5.02 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.03065, allocations: 195.4 kB / 0.9806 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008307/0.03148, allocations: 0.6882 MB / 0.9812 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.03159, allocations: 177.1 kB / 0.9814 GB, free: 3.926 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.03165, allocations: 36.48 kB / 0.9814 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of SimCode: time 4.71e-07/0.03165, allocations: 0 / 0.9814 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of Templates: time 0.005773/0.03742, allocations: 6.154 MB / 0.9875 GB, free: 13.79 MB / 0.948 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.528860362246633]