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.001824/0.001824, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001948/0.001948, allocations: 166.5 kB / 22.46 MB, free: 5.363 MB / 14.72 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.558/1.558, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.865/2.865, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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.743e-06/1.743e-06, allocations: 0 / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.373e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0179/0.01794, allocations: 13.42 MB / 0.9641 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005975/0.02391, allocations: 3.384 MB / 0.9674 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005986/0.02451, allocations: 23.81 kB / 0.9674 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008359/0.02535, allocations: 202.6 kB / 0.9676 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.02727, allocations: 0.6448 MB / 0.9682 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.0284, allocations: 426.2 kB / 0.9686 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.03018, allocations: 1.094 MB / 0.9697 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.03068, allocations: 260.9 kB / 0.9699 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.032, allocations: 0.5181 MB / 0.9704 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.03244, allocations: 275.1 kB / 0.9707 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.656e-05/0.03251, allocations: 36 kB / 0.9707 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.03304, allocations: 223.4 kB / 0.9709 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.03318, allocations: 111.5 kB / 0.9711 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.03339, allocations: 143.7 kB / 0.9712 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009542/0.03435, allocations: 0.6114 MB / 0.9718 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.03435, allocations: 0 / 0.9718 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.276e-06/0.03436, allocations: 4 kB / 0.9718 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.03437, allocations: 0 / 0.9718 GB, free: 6.172 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.001272/0.03564, allocations: 0.6777 MB / 0.9725 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.03567, allocations: 12.03 kB / 0.9725 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.03587, allocations: 52.66 kB / 0.9725 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007892/0.03666, allocations: 400 kB / 0.9729 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.03669, allocations: 20.88 kB / 0.9729 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.03676, allocations: 32.33 kB / 0.9729 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.03748, allocations: 416.4 kB / 0.9733 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.03749, allocations: 0 / 0.9733 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.03753, allocations: 12 kB / 0.9734 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.03755, allocations: 8 kB / 0.9734 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.03808, allocations: 193.8 kB / 0.9735 GB, free: 4.262 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.001768/0.03985, allocations: 1.089 MB / 0.9746 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.04034, allocations: 154.6 kB / 0.9748 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.04052, allocations: 64.81 kB / 0.9748 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.402e-05/0.04062, allocations: 15.92 kB / 0.9748 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003855/0.041, allocations: 230.1 kB / 0.9751 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.04101, allocations: 0 / 0.9751 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0006998/0.04171, allocations: 239.2 kB / 0.9753 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.04175, allocations: 55.41 kB / 0.9753 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.04216, allocations: 332.4 kB / 0.9757 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.0422, allocations: 29.7 kB / 0.9757 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.04239, allocations: 224.4 kB / 0.9759 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.04244, allocations: 51.53 kB / 0.9759 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.04253, allocations: 53.7 kB / 0.976 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.04272, allocations: 346.7 kB / 0.9763 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.04295, allocations: 101.6 kB / 0.9764 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.04324, allocations: 172.3 kB / 0.9766 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.04373, allocations: 249.3 kB / 0.9768 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.04373, allocations: 4 kB / 0.9768 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006811/0.04441, allocations: 332.5 kB / 0.9771 GB, free: 324 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.04446, allocations: 41.69 kB / 0.9772 GB, free: 276 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.04447, allocations: 4.312 kB / 0.9772 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.04449, allocations: 8 kB / 0.9772 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.04473, allocations: 51.91 kB / 0.9772 GB, free: 212 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.04474, allocations: 4 kB / 0.9772 GB, free: 208 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.045, allocations: 31.83 kB / 0.9773 GB, free: 176 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.04503, allocations: 15.98 kB / 0.9773 GB, free: 160 kB / 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.0001971/0.04523, allocations: 165.8 kB / 0.9775 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.04529, allocations: 27.81 kB / 0.9775 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005343/0.04583, allocations: 196.4 kB / 0.9777 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.04583, allocations: 0 / 0.9777 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.04584, allocations: 4 kB / 0.9777 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005995/0.04644, allocations: 489.7 kB / 0.9781 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.04684, allocations: 253 kB / 0.9784 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.04684, allocations: 0 / 0.9784 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.04702, allocations: 27.98 kB / 0.9784 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.04702, allocations: 4 kB / 0.9784 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.04705, allocations: 11.92 kB / 0.9784 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.04705, allocations: 0 / 0.9784 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.04705, allocations: 0 / 0.9784 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.04774, allocations: 288.7 kB / 0.9787 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.04785, allocations: 39.8 kB / 0.9787 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.0479, allocations: 4 kB / 0.9787 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.04814, allocations: 23.97 kB / 0.9788 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.04821, allocations: 19.91 kB / 0.9788 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.04823, allocations: 8 kB / 0.9788 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002637/0.04849, allocations: 231 kB / 0.979 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.04849, allocations: 0 / 0.979 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000451/0.04895, allocations: 123.7 kB / 0.9791 GB, free: 14.13 MB / 0.8887 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.0003632/0.04931, allocations: 203 kB / 0.9793 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005811/0.04989, allocations: 255.2 kB / 0.9796 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04989, allocations: 4.062 kB / 0.9796 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.0501, allocations: 62.34 kB / 0.9796 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.05105, allocations: 187.6 kB / 0.9798 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.05251, allocations: 0.6592 MB / 0.9804 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.05271, allocations: 185.1 kB / 0.9806 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002396/0.05295, allocations: 67.17 kB / 0.9807 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.05303, allocations: 32.48 kB / 0.9807 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of SimCode: time 4.91e-07/0.05303, allocations: 0 / 0.9807 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of Templates: time 0.01459/0.06762, allocations: 7.173 MB / 0.9877 GB, free: 5.465 MB / 0.8887 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: 8.44471961259842]