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.001766/0.001766, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002081/0.002081, allocations: 166.7 kB / 22.46 MB, free: 5.359 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.967/2.967, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.563e-06/1.563e-06, allocations: 0 / 1 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.271e-05, allocations: 5.797 kB / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02728/0.02731, allocations: 13.43 MB / 1.013 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008869/0.03618, allocations: 3.385 MB / 1.017 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.03726, allocations: 23.81 kB / 1.017 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.03859, allocations: 202.6 kB / 1.017 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.04202, allocations: 0.6487 MB / 1.017 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.0439, allocations: 412.6 kB / 1.018 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002729/0.04662, allocations: 1.11 MB / 1.019 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006898/0.04731, allocations: 256.9 kB / 1.019 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.04935, allocations: 0.5608 MB / 1.02 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006872/0.05004, allocations: 267.2 kB / 1.02 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.05014, allocations: 32 kB / 1.02 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008513/0.05099, allocations: 223.4 kB / 1.02 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.05119, allocations: 111.6 kB / 1.02 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.0515, allocations: 139.7 kB / 1.02 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.05289, allocations: 0.6192 MB / 1.021 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.05289, allocations: 0 / 1.021 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.0529, allocations: 11.88 kB / 1.021 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.15e-05/0.05294, allocations: 0 / 1.021 GB, free: 1.855 MB / 0.9669 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.001849/0.05479, allocations: 0.6738 MB / 1.022 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.05484, allocations: 12.02 kB / 1.022 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.05515, allocations: 52.7 kB / 1.022 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.05632, allocations: 412 kB / 1.022 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.05636, allocations: 20.88 kB / 1.022 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.14e-05/0.05646, allocations: 28.38 kB / 1.022 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.05749, allocations: 416.4 kB / 1.023 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.05751, allocations: 0 / 1.023 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.05756, allocations: 15.94 kB / 1.023 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.05759, allocations: 8 kB / 1.023 GB, free: 132 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000791/0.05838, allocations: 185.8 kB / 1.023 GB, free: 15.95 MB / 0.9825 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.002664/0.06105, allocations: 1.104 MB / 1.024 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.06176, allocations: 146.6 kB / 1.024 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.06205, allocations: 64.81 kB / 1.024 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.06218, allocations: 12 kB / 1.024 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005469/0.06273, allocations: 232.5 kB / 1.024 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 2.394e-06/0.06273, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001056/0.06378, allocations: 233.3 kB / 1.025 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.06384, allocations: 51.41 kB / 1.025 GB, free: 14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/0.06444, allocations: 328.5 kB / 1.025 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.06449, allocations: 33.7 kB / 1.025 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.06477, allocations: 224.4 kB / 1.025 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.912e-05/0.06486, allocations: 59.52 kB / 1.025 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.06501, allocations: 53.66 kB / 1.025 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002527/0.06527, allocations: 350.7 kB / 1.026 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.0656, allocations: 97.66 kB / 1.026 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.06603, allocations: 171.1 kB / 1.026 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.06673, allocations: 252.3 kB / 1.026 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.06673, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001055/0.06779, allocations: 335.5 kB / 1.026 GB, free: 12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/0.06785, allocations: 37.69 kB / 1.026 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.06786, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.06789, allocations: 7.938 kB / 1.026 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.06826, allocations: 52.28 kB / 1.026 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.06827, allocations: 11.94 kB / 1.026 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.06869, allocations: 31.83 kB / 1.027 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.06873, allocations: 15.94 kB / 1.027 GB, free: 11.84 MB / 0.9825 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.000356/0.06909, allocations: 173.5 kB / 1.027 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/0.06918, allocations: 31.81 kB / 1.027 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007595/0.06994, allocations: 186.6 kB / 1.027 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.06994, allocations: 8 kB / 1.027 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.06995, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008615/0.07081, allocations: 491.6 kB / 1.027 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.0714, allocations: 249 kB / 1.028 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.0714, allocations: 0 / 1.028 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.07166, allocations: 35.98 kB / 1.028 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.07166, allocations: 0 / 1.028 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.07169, allocations: 7.984 kB / 1.028 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.07169, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.07169, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009813/0.07267, allocations: 289.5 kB / 1.028 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.07285, allocations: 47.77 kB / 1.028 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.07292, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.07328, allocations: 19.97 kB / 1.028 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.07338, allocations: 15.97 kB / 1.028 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.07341, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004674/0.07387, allocations: 239 kB / 1.028 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.07387, allocations: 0 / 1.028 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007642/0.07464, allocations: 127.7 kB / 1.028 GB, free: 9.809 MB / 0.9825 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.0005191/0.07516, allocations: 191.1 kB / 1.029 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000811/0.07597, allocations: 248.9 kB / 1.029 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.07597, allocations: 3.938 kB / 1.029 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.07626, allocations: 60.58 kB / 1.029 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.07767, allocations: 196.5 kB / 1.029 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.07977, allocations: 0.663 MB / 1.03 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.08006, allocations: 181.1 kB / 1.03 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003313/0.08039, allocations: 63.19 kB / 1.03 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.08052, allocations: 40.48 kB / 1.03 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.08052, allocations: 0 / 1.03 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of Templates: time 0.02179/0.1023, allocations: 7.15 MB / 1.037 GB, free: 1.109 MB / 0.9825 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 800] 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: 8.505720101296902]