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.00102/0.00102, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001029/0.001029, allocations: 161 kB / 23.81 MB, free: 0.7539 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.015/1.015, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.799/1.799, allocations: 359 MB / 0.6052 GB, free: 11.02 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.553e-06/1.553e-06, allocations: 0 / 0.7871 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.897e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006287/0.006306, allocations: 7.268 MB / 0.7942 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.009193, allocations: 2.473 MB / 0.7966 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.009471, allocations: 26.38 kB / 0.7966 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.009876, allocations: 135 kB / 0.7967 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008228/0.0107, allocations: 0.5269 MB / 0.7972 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.01121, allocations: 369.8 kB / 0.7976 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009186/0.01213, allocations: 1.08 MB / 0.7987 GB, free: 496 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.01245, allocations: 265.1 kB / 0.7989 GB, free: 232 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007008/0.01315, allocations: 0.5162 MB / 0.7994 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.01345, allocations: 279.1 kB / 0.7997 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.01351, allocations: 36 kB / 0.7997 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.01375, allocations: 145.6 kB / 0.7998 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.01384, allocations: 107.5 kB / 0.8 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.01397, allocations: 147.6 kB / 0.8001 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.01445, allocations: 410.6 kB / 0.8005 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01445, allocations: 7.938 kB / 0.8005 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01445, allocations: 2.344 kB / 0.8005 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.01446, allocations: 0 / 0.8005 GB, free: 14.61 MB / 0.7605 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.0008406/0.0153, allocations: 0.7582 MB / 0.8012 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.01533, allocations: 12.03 kB / 0.8012 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.01551, allocations: 73.92 kB / 0.8013 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.01602, allocations: 421.8 kB / 0.8017 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.01604, allocations: 21.97 kB / 0.8017 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.01608, allocations: 28.38 kB / 0.8018 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.01651, allocations: 375.9 kB / 0.8021 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.01653, allocations: 0 / 0.8021 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.01655, allocations: 12.78 kB / 0.8021 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.01657, allocations: 8 kB / 0.8021 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.01673, allocations: 90.12 kB / 0.8022 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.0178, allocations: 1.298 MB / 0.8035 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.018, allocations: 96.84 kB / 0.8036 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.01818, allocations: 35.67 kB / 0.8036 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.01826, allocations: 8 kB / 0.8036 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.01843, allocations: 204.7 kB / 0.8038 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.01843, allocations: 0 / 0.8038 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.00026/0.01869, allocations: 149.4 kB / 0.804 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.01872, allocations: 56.5 kB / 0.804 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.01895, allocations: 362.1 kB / 0.8044 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.01897, allocations: 33.7 kB / 0.8044 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01909, allocations: 264.3 kB / 0.8047 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.01912, allocations: 59.52 kB / 0.8047 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.01919, allocations: 63.31 kB / 0.8048 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01931, allocations: 0.5195 MB / 0.8053 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.01937, allocations: 53.69 kB / 0.8053 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.01948, allocations: 166.2 kB / 0.8055 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.01964, allocations: 203.3 kB / 0.8057 GB, free: 8.898 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01964, allocations: 0 / 0.8057 GB, free: 8.898 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002575/0.0199, allocations: 270.1 kB / 0.8059 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.01992, allocations: 41.69 kB / 0.806 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01993, allocations: 4 kB / 0.806 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01995, allocations: 4.312 kB / 0.806 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.02008, allocations: 59.91 kB / 0.806 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.02009, allocations: 7.938 kB / 0.8061 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.0202, allocations: 27.83 kB / 0.8061 GB, free: 8.469 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.02022, allocations: 16 kB / 0.8061 GB, free: 8.453 MB / 0.7605 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 9.212e-05/0.02031, allocations: 172.4 kB / 0.8063 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.02035, allocations: 39.81 kB / 0.8063 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.02054, allocations: 139.1 kB / 0.8064 GB, free: 8.086 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.02054, allocations: 11.98 kB / 0.8064 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.02055, allocations: 4 kB / 0.8064 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001916/0.02074, allocations: 431.7 kB / 0.8069 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.02126, allocations: 256.4 kB / 0.8071 GB, free: 7.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.02127, allocations: 0 / 0.8071 GB, free: 7.277 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.02135, allocations: 27.98 kB / 0.8071 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.02135, allocations: 0 / 0.8071 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.02137, allocations: 11.98 kB / 0.8071 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.02137, allocations: 0 / 0.8071 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.02137, allocations: 0 / 0.8071 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.02159, allocations: 208.5 kB / 0.8073 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.02166, allocations: 47.8 kB / 0.8074 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.02169, allocations: 4 kB / 0.8074 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.02178, allocations: 15.98 kB / 0.8074 GB, free: 6.949 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.02183, allocations: 11.97 kB / 0.8074 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.02185, allocations: 7.984 kB / 0.8074 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00014/0.02199, allocations: 239 kB / 0.8076 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02199, allocations: 0 / 0.8076 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002572/0.02224, allocations: 115.7 kB / 0.8078 GB, free: 6.586 MB / 0.7605 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.0001808/0.02242, allocations: 151.1 kB / 0.8079 GB, free: 6.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.02264, allocations: 197.1 kB / 0.8081 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02264, allocations: 0 / 0.8081 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.052e-05/0.0227, allocations: 47.73 kB / 0.8081 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.0232, allocations: 202.6 kB / 0.8083 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.0242, allocations: 0.6272 MB / 0.8089 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.965e-05/0.02426, allocations: 104.6 kB / 0.809 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.02441, allocations: 63.19 kB / 0.8091 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.02447, allocations: 32.48 kB / 0.8091 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.02447, allocations: 4 kB / 0.8091 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of Templates: time 0.0086/0.03307, allocations: 6.634 MB / 0.8156 GB, free: 14.65 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.459517611656338]