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.001135/0.001135, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001073/0.001073, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.109/1.109, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.212/2.212, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 177] 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.654e-06/1.654e-06, allocations: 0 / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.724e-05, allocations: 4.984 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01832/0.01834, allocations: 7.216 MB / 0.8864 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.0286, allocations: 2.471 MB / 0.8888 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.02899, allocations: 23.81 kB / 0.8889 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.02942, allocations: 127.7 kB / 0.889 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.03045, allocations: 0.5399 MB / 0.8895 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.03425, allocations: 367 kB / 0.8899 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.03581, allocations: 1.095 MB / 0.8909 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.03627, allocations: 269.5 kB / 0.8912 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.03742, allocations: 0.559 MB / 0.8917 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.03794, allocations: 279.1 kB / 0.892 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.845e-05/0.03801, allocations: 32 kB / 0.892 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.03834, allocations: 135.7 kB / 0.8922 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.03846, allocations: 99.59 kB / 0.8922 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.03864, allocations: 159.6 kB / 0.8924 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.03931, allocations: 398.6 kB / 0.8928 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.03931, allocations: 0 / 0.8928 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.052e-06/0.03931, allocations: 0 / 0.8928 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.03932, allocations: 4 kB / 0.8928 GB, free: 8.266 MB / 0.8542 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.001089/0.04041, allocations: 0.7694 MB / 0.8935 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.04045, allocations: 12.03 kB / 0.8935 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.04066, allocations: 68.59 kB / 0.8936 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.04116, allocations: 355 kB / 0.8939 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.04119, allocations: 24.81 kB / 0.894 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.04124, allocations: 28.38 kB / 0.894 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.04166, allocations: 351.2 kB / 0.8943 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.04168, allocations: 4 kB / 0.8943 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.04171, allocations: 8 kB / 0.8943 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.04173, allocations: 15.98 kB / 0.8944 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.04192, allocations: 81.31 kB / 0.8944 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.04343, allocations: 1.298 MB / 0.8957 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.04364, allocations: 99.08 kB / 0.8958 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.04369, allocations: 27.67 kB / 0.8958 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.357e-05/0.04376, allocations: 8 kB / 0.8958 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.04397, allocations: 199.8 kB / 0.896 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.04398, allocations: 0 / 0.896 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002839/0.04426, allocations: 145.3 kB / 0.8962 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.04429, allocations: 55.41 kB / 0.8962 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.04458, allocations: 354 kB / 0.8966 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.0446, allocations: 29.7 kB / 0.8966 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.04477, allocations: 275.1 kB / 0.8968 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.04482, allocations: 55.58 kB / 0.8969 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.501e-05/0.04491, allocations: 55.3 kB / 0.897 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.04507, allocations: 0.5234 MB / 0.8975 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.04514, allocations: 49.69 kB / 0.8975 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.04527, allocations: 163.1 kB / 0.8977 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.04547, allocations: 200.5 kB / 0.8979 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.04547, allocations: 0 / 0.8979 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003557/0.04583, allocations: 256.6 kB / 0.8981 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.04586, allocations: 34.02 kB / 0.8981 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.04586, allocations: 8 kB / 0.8981 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.04587, allocations: 4 kB / 0.8981 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.04607, allocations: 51.91 kB / 0.8982 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.04608, allocations: 7.984 kB / 0.8982 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.04627, allocations: 31.78 kB / 0.8982 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.0463, allocations: 12 kB / 0.8982 GB, free: 2.23 MB / 0.8542 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.0001405/0.04644, allocations: 188.4 kB / 0.8984 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.04649, allocations: 31.81 kB / 0.8985 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.04675, allocations: 136.4 kB / 0.8986 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.04675, allocations: 7.922 kB / 0.8986 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.04675, allocations: 0 / 0.8986 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002717/0.04702, allocations: 418.6 kB / 0.899 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.04734, allocations: 216.9 kB / 0.8992 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.04734, allocations: 4 kB / 0.8992 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.04749, allocations: 27.92 kB / 0.8992 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.04749, allocations: 0 / 0.8992 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.04751, allocations: 4 kB / 0.8992 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.04751, allocations: 3.984 kB / 0.8992 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.04751, allocations: 4 kB / 0.8992 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.04781, allocations: 184.1 kB / 0.8994 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/0.04791, allocations: 47.77 kB / 0.8995 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.04795, allocations: 12 kB / 0.8995 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.04812, allocations: 7.984 kB / 0.8995 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.04817, allocations: 19.97 kB / 0.8995 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.04819, allocations: 7.984 kB / 0.8995 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001659/0.04836, allocations: 226.9 kB / 0.8997 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.04836, allocations: 0 / 0.8997 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004242/0.04878, allocations: 115.7 kB / 0.8998 GB, free: 464 kB / 0.8542 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.0002147/0.049, allocations: 151 kB / 0.9 GB, free: 304 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.04924, allocations: 190.4 kB / 0.9002 GB, free: 92 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.04924, allocations: 4 kB / 0.9002 GB, free: 88 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.121e-05/0.04931, allocations: 46.55 kB / 0.9002 GB, free: 40 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.05006, allocations: 198.2 kB / 0.9004 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.05136, allocations: 0.634 MB / 0.901 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.08e-05/0.05144, allocations: 100.9 kB / 0.9011 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.05164, allocations: 55.12 kB / 0.9012 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.05205, allocations: 222 kB / 0.9014 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of SimCode: time 8.51e-07/0.05205, allocations: 0 / 0.9014 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.01291/0.06496, allocations: 7.444 MB / 0.9086 GB, free: 7.527 MB / 0.8698 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","",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.894767445977777]