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.0009524/0.0009524, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009639/0.0009639, allocations: 177 kB / 23.5 MB, free: 1.051 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.9572/0.9572, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.038/2.038, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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.443e-06/1.443e-06, allocations: 0 / 0.8782 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.041e-05, allocations: 7.656 kB / 0.8782 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01227/0.01229, allocations: 15 MB / 0.8928 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004157/0.01645, allocations: 3.706 MB / 0.8964 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.01679, allocations: 23.81 kB / 0.8964 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.01731, allocations: 206.6 kB / 0.8966 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.01839, allocations: 0.6448 MB / 0.8973 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.01902, allocations: 402.9 kB / 0.8977 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.02012, allocations: 1.116 MB / 0.8987 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.02048, allocations: 269 kB / 0.899 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008309/0.02131, allocations: 0.5707 MB / 0.8996 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.02164, allocations: 279.1 kB / 0.8998 GB, free: 456 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.02168, allocations: 39.98 kB / 0.8999 GB, free: 416 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.02201, allocations: 227.3 kB / 0.9001 GB, free: 188 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.0221, allocations: 99.59 kB / 0.9002 GB, free: 88 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.02223, allocations: 147.7 kB / 0.9003 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005533/0.02279, allocations: 466.4 kB / 0.9008 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.02279, allocations: 0 / 0.9008 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.81e-07/0.02279, allocations: 0 / 0.9008 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.02279, allocations: 0 / 0.9008 GB, free: 15.48 MB / 0.8698 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.0008685/0.02366, allocations: 0.7811 MB / 0.9015 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.0237, allocations: 11.97 kB / 0.9015 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.02392, allocations: 72.59 kB / 0.9016 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.02443, allocations: 406.8 kB / 0.902 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.02445, allocations: 24.86 kB / 0.902 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.02451, allocations: 32.38 kB / 0.902 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.02488, allocations: 367.3 kB / 0.9024 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.0249, allocations: 11.88 kB / 0.9024 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.02492, allocations: 8 kB / 0.9024 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.02494, allocations: 8 kB / 0.9024 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.02511, allocations: 102.9 kB / 0.9025 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.02622, allocations: 1.286 MB / 0.9038 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.02642, allocations: 95.16 kB / 0.9039 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.02649, allocations: 35.92 kB / 0.9039 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.699e-05/0.02658, allocations: 19.98 kB / 0.9039 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.0268, allocations: 207.4 kB / 0.9041 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/0.0268, allocations: 0 / 0.9041 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0003273/0.02713, allocations: 149.4 kB / 0.9043 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.02716, allocations: 51.41 kB / 0.9043 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.02752, allocations: 358.2 kB / 0.9047 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.02754, allocations: 33.69 kB / 0.9047 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.02766, allocations: 267.1 kB / 0.9049 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.0277, allocations: 59.52 kB / 0.905 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.02776, allocations: 63.31 kB / 0.9051 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.02788, allocations: 0.5157 MB / 0.9056 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.02794, allocations: 57.67 kB / 0.9056 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.02805, allocations: 167.9 kB / 0.9058 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.02821, allocations: 213.4 kB / 0.906 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02821, allocations: 0 / 0.906 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002746/0.02849, allocations: 268.6 kB / 0.9062 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.02851, allocations: 33.7 kB / 0.9063 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.02852, allocations: 0 / 0.9063 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.02853, allocations: 4.312 kB / 0.9063 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.02867, allocations: 63.91 kB / 0.9063 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.02868, allocations: 7.984 kB / 0.9063 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.0288, allocations: 31.78 kB / 0.9064 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.02881, allocations: 11.94 kB / 0.9064 GB, free: 9.293 MB / 0.8698 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.516e-05/0.02891, allocations: 176.5 kB / 0.9066 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.02895, allocations: 39.75 kB / 0.9066 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.02912, allocations: 132.4 kB / 0.9067 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.02913, allocations: 4 kB / 0.9067 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.02913, allocations: 7.984 kB / 0.9067 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001986/0.02933, allocations: 431.7 kB / 0.9071 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.02959, allocations: 260.4 kB / 0.9074 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.02959, allocations: 0 / 0.9074 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-05/0.02967, allocations: 31.92 kB / 0.9074 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.02968, allocations: 4 kB / 0.9074 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.02969, allocations: 4 kB / 0.9074 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.02969, allocations: 0 / 0.9074 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.02969, allocations: 0 / 0.9074 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.02992, allocations: 206.7 kB / 0.9076 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.02999, allocations: 47.78 kB / 0.9077 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.03002, allocations: 8 kB / 0.9077 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/0.03012, allocations: 7.984 kB / 0.9077 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.03018, allocations: 27.84 kB / 0.9077 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.0302, allocations: 7.984 kB / 0.9077 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000278/0.03047, allocations: 239 kB / 0.9079 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.03047, allocations: 0 / 0.9079 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002815/0.03076, allocations: 123.7 kB / 0.9081 GB, free: 7.41 MB / 0.8698 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.0002261/0.03098, allocations: 194.9 kB / 0.9082 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.03121, allocations: 201.3 kB / 0.9084 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.03121, allocations: 3.938 kB / 0.9084 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.03127, allocations: 47.59 kB / 0.9085 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.03177, allocations: 199.7 kB / 0.9087 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.0328, allocations: 0.635 MB / 0.9093 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.322e-05/0.03286, allocations: 100.6 kB / 0.9094 GB, free: 5.965 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.03301, allocations: 55.2 kB / 0.9094 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.03306, allocations: 40.48 kB / 0.9095 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of SimCode: time 7.42e-07/0.03306, allocations: 0 / 0.9095 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of Templates: time 0.008734/0.0418, allocations: 7.283 MB / 0.9166 GB, free: 14.75 MB / 0.8855 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.46987817902118]