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.00252/0.00252, allocations: 85.48 kB / 19.44 MB, free: 344 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.003295/0.003295, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.616/1.616, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.358/3.358, allocations: 429.5 MB / 0.6729 GB, free: 3.992 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.553e-06/1.553e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.817e-05, allocations: 3.062 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02065/0.02067, allocations: 14.92 MB / 0.892 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007179/0.02785, allocations: 3.704 MB / 0.8956 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005763/0.02843, allocations: 23.81 kB / 0.8956 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.0292, allocations: 214.5 kB / 0.8958 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.031, allocations: 0.641 MB / 0.8965 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.03221, allocations: 410.8 kB / 0.8969 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.03384, allocations: 1.102 MB / 0.8979 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/0.03434, allocations: 277 kB / 0.8982 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.03579, allocations: 0.5712 MB / 0.8988 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005304/0.03632, allocations: 283.1 kB / 0.899 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.03639, allocations: 32 kB / 0.8991 GB, free: 476 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000862/0.03725, allocations: 223.4 kB / 0.8993 GB, free: 252 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.03741, allocations: 103.5 kB / 0.8994 GB, free: 148 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.03764, allocations: 147.7 kB / 0.8995 GB, free: 0 / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.03871, allocations: 0.6192 MB / 0.9001 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.03871, allocations: 0 / 0.9001 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.03871, allocations: 4 kB / 0.9001 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.03872, allocations: 0 / 0.9001 GB, free: 15.38 MB / 0.8698 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.001476/0.0402, allocations: 0.8006 MB / 0.9009 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.04024, allocations: 12.03 kB / 0.9009 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.04049, allocations: 76.53 kB / 0.901 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008554/0.04135, allocations: 422.8 kB / 0.9014 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.04139, allocations: 24.86 kB / 0.9014 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/0.04146, allocations: 28.38 kB / 0.9014 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.04219, allocations: 434.5 kB / 0.9019 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.04221, allocations: 0 / 0.9019 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.04224, allocations: 12 kB / 0.9019 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.04227, allocations: 4 kB / 0.9019 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.04275, allocations: 177.8 kB / 0.902 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.04495, allocations: 1.434 MB / 0.9034 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.04539, allocations: 143.1 kB / 0.9036 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.04554, allocations: 55.66 kB / 0.9036 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-05/0.04564, allocations: 8 kB / 0.9036 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/0.04602, allocations: 231.7 kB / 0.9039 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.04602, allocations: 0 / 0.9039 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0006122/0.04664, allocations: 220 kB / 0.9041 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.04669, allocations: 51.41 kB / 0.9041 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.04722, allocations: 434.2 kB / 0.9045 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.04726, allocations: 29.7 kB / 0.9046 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.04751, allocations: 283.1 kB / 0.9048 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.04757, allocations: 55.59 kB / 0.9049 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.04769, allocations: 75.3 kB / 0.9049 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003197/0.04801, allocations: 0.5313 MB / 0.9055 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.04821, allocations: 89.61 kB / 0.9056 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.04852, allocations: 211.9 kB / 0.9058 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.04898, allocations: 263.8 kB / 0.906 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.04898, allocations: 0 / 0.906 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006608/0.04964, allocations: 342.4 kB / 0.9063 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.04969, allocations: 29.7 kB / 0.9064 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.0497, allocations: 4 kB / 0.9064 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.04972, allocations: 4 kB / 0.9064 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.04995, allocations: 60.22 kB / 0.9064 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.04997, allocations: 15.92 kB / 0.9064 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.0502, allocations: 31.78 kB / 0.9065 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.05022, allocations: 8 kB / 0.9065 GB, free: 8.422 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.0002099/0.05043, allocations: 208.4 kB / 0.9067 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.0505, allocations: 31.81 kB / 0.9067 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.05096, allocations: 172.4 kB / 0.9069 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.05097, allocations: 4 kB / 0.9069 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.05097, allocations: 0 / 0.9069 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005311/0.0515, allocations: 474.5 kB / 0.9073 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.05206, allocations: 324.3 kB / 0.9076 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.05206, allocations: 11.91 kB / 0.9077 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.05222, allocations: 27.98 kB / 0.9077 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.05222, allocations: 4 kB / 0.9077 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.05224, allocations: 0 / 0.9077 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.05224, allocations: 0 / 0.9077 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.05224, allocations: 0 / 0.9077 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.05285, allocations: 276 kB / 0.9079 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.05297, allocations: 47.78 kB / 0.908 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.05301, allocations: 8 kB / 0.908 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.05321, allocations: 11.98 kB / 0.908 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.05328, allocations: 15.97 kB / 0.908 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.05331, allocations: 11.98 kB / 0.908 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003207/0.05363, allocations: 279 kB / 0.9083 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.05363, allocations: 0 / 0.9083 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004479/0.05408, allocations: 131.6 kB / 0.9084 GB, free: 6.27 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.0003709/0.05445, allocations: 187 kB / 0.9086 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005391/0.05499, allocations: 261.1 kB / 0.9089 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.05499, allocations: 0 / 0.9089 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.05517, allocations: 71.59 kB / 0.9089 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009863/0.05616, allocations: 209.1 kB / 0.9091 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.05758, allocations: 0.6389 MB / 0.9097 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.05779, allocations: 189.1 kB / 0.9099 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002167/0.05801, allocations: 59.19 kB / 0.91 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.05809, allocations: 28.5 kB / 0.91 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of SimCode: time 5.41e-07/0.05809, allocations: 4 kB / 0.91 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of Templates: time 0.01513/0.07322, allocations: 7.29 MB / 0.9171 GB, free: 13.43 MB / 0.8855 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] 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: 9.035509348963387]