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.001275/0.001275, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001043/0.001043, allocations: 165.9 kB / 24.86 MB, free: 9.258 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.9456/0.9456, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.6063 GB, free: 10.92 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.773e-06/1.773e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.294e-05, allocations: 3.312 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006739/0.006752, allocations: 7.197 MB / 0.7953 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002719/0.009471, allocations: 2.458 MB / 0.7977 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.009732, allocations: 25.19 kB / 0.7977 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.01007, allocations: 123.1 kB / 0.7979 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007189/0.01079, allocations: 0.5357 MB / 0.7984 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.01123, allocations: 369.5 kB / 0.7987 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008949/0.01212, allocations: 1.086 MB / 0.7998 GB, free: 472 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.0124, allocations: 265.1 kB / 0.8 GB, free: 208 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007529/0.01316, allocations: 0.5458 MB / 0.8006 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.01344, allocations: 279.1 kB / 0.8008 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.01349, allocations: 35.98 kB / 0.8009 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.01367, allocations: 131.7 kB / 0.801 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.01375, allocations: 99.59 kB / 0.8011 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.01426, allocations: 151.6 kB / 0.8012 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.0147, allocations: 406.6 kB / 0.8016 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.0147, allocations: 0.5 kB / 0.8016 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.02e-07/0.0147, allocations: 0 / 0.8016 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.0147, allocations: 1.938 kB / 0.8016 GB, free: 14.59 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.0007534/0.01546, allocations: 0.7658 MB / 0.8024 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.01549, allocations: 12.69 kB / 0.8024 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.01565, allocations: 72.59 kB / 0.8025 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.01599, allocations: 356.1 kB / 0.8028 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.01602, allocations: 20.88 kB / 0.8028 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.01606, allocations: 32.33 kB / 0.8029 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.01636, allocations: 355.2 kB / 0.8032 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.01637, allocations: 4 kB / 0.8032 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.01639, allocations: 8.938 kB / 0.8032 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.01642, allocations: 15.88 kB / 0.8032 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.01654, allocations: 78.48 kB / 0.8033 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.0175, allocations: 1.296 MB / 0.8046 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.01765, allocations: 95.5 kB / 0.8047 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.01769, allocations: 33.36 kB / 0.8047 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/0.01775, allocations: 8 kB / 0.8047 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.0179, allocations: 195.8 kB / 0.8049 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 2.585e-06/0.0179, allocations: 4.484 kB / 0.8049 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0002196/0.01812, allocations: 145.3 kB / 0.805 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.01815, allocations: 60.73 kB / 0.8051 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.01835, allocations: 350 kB / 0.8054 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.01837, allocations: 33.7 kB / 0.8054 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.01849, allocations: 272 kB / 0.8057 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.01853, allocations: 51.58 kB / 0.8058 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.01858, allocations: 55.34 kB / 0.8058 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.01871, allocations: 0.5273 MB / 0.8063 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/0.01875, allocations: 45.69 kB / 0.8064 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.01885, allocations: 170.1 kB / 0.8065 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.01898, allocations: 191.6 kB / 0.8067 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.01899, allocations: 0 / 0.8067 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002295/0.01922, allocations: 261.6 kB / 0.807 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.01924, allocations: 37.69 kB / 0.807 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01925, allocations: 0 / 0.807 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.01926, allocations: 8.312 kB / 0.807 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.01939, allocations: 59.91 kB / 0.8071 GB, free: 8.605 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.0194, allocations: 4 kB / 0.8071 GB, free: 8.602 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01951, allocations: 23.83 kB / 0.8071 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.01952, allocations: 15.98 kB / 0.8071 GB, free: 8.562 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.497e-05/0.01962, allocations: 180.4 kB / 0.8073 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.01966, allocations: 39.77 kB / 0.8073 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.01981, allocations: 135.1 kB / 0.8074 GB, free: 8.191 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.01982, allocations: 8 kB / 0.8074 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01982, allocations: 0 / 0.8074 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001878/0.02001, allocations: 419.8 kB / 0.8078 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.02023, allocations: 209 kB / 0.808 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.02023, allocations: 0 / 0.808 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.02032, allocations: 31.92 kB / 0.8081 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.02032, allocations: 0 / 0.8081 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.02033, allocations: 3.984 kB / 0.8081 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.02033, allocations: 0 / 0.8081 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02033, allocations: 4 kB / 0.8081 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.02055, allocations: 196 kB / 0.8083 GB, free: 7.203 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.02061, allocations: 43.8 kB / 0.8083 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.02064, allocations: 8 kB / 0.8083 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.02073, allocations: 11.98 kB / 0.8083 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.02077, allocations: 15.97 kB / 0.8083 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.02078, allocations: 7.984 kB / 0.8084 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001443/0.02093, allocations: 226.9 kB / 0.8086 GB, free: 6.898 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02093, allocations: 0 / 0.8086 GB, free: 6.898 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002382/0.02117, allocations: 111.7 kB / 0.8087 GB, free: 6.789 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.0001732/0.02134, allocations: 151.1 kB / 0.8088 GB, free: 6.633 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.02152, allocations: 183.5 kB / 0.809 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-06/0.02152, allocations: 128 / 0.809 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.02157, allocations: 51.58 kB / 0.809 GB, free: 6.379 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.02204, allocations: 213.2 kB / 0.8092 GB, free: 6.176 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.02302, allocations: 0.6272 MB / 0.8099 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.212e-05/0.02307, allocations: 104.5 kB / 0.81 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.0232, allocations: 47.28 kB / 0.81 GB, free: 5.348 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.02347, allocations: 218 kB / 0.8102 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.02347, allocations: 0 / 0.8102 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of Templates: time 0.009063/0.03254, allocations: 7.412 MB / 0.8175 GB, free: 13.92 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.255109052639455]