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.001393/0.001393, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001749/0.001749, allocations: 169 kB / 23.27 MB, free: 1.223 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.9292/0.9292, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.403/2.403, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.353e-06/1.353e-06, allocations: 0 / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.362e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.00696/0.006993, allocations: 7.217 MB / 0.8968 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.009785, allocations: 2.455 MB / 0.8992 GB, free: 72 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.01005, allocations: 27.81 kB / 0.8992 GB, free: 44 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.01044, allocations: 123.1 kB / 0.8993 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008373/0.01128, allocations: 0.5438 MB / 0.8999 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.01179, allocations: 367.1 kB / 0.9002 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0008988/0.01269, allocations: 1.097 MB / 0.9013 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.013, allocations: 273.1 kB / 0.9015 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000754/0.01375, allocations: 0.5483 MB / 0.9021 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.01405, allocations: 275.2 kB / 0.9023 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.01409, allocations: 36 kB / 0.9024 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.01431, allocations: 139.6 kB / 0.9025 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.01439, allocations: 103.6 kB / 0.9026 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.01451, allocations: 143.7 kB / 0.9027 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007554/0.01527, allocations: 406.6 kB / 0.9031 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01527, allocations: 0 / 0.9031 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01527, allocations: 0 / 0.9031 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.01528, allocations: 0 / 0.9031 GB, free: 12.02 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.0007824/0.01606, allocations: 0.7733 MB / 0.9039 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.0161, allocations: 8.625 kB / 0.9039 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.01626, allocations: 72.59 kB / 0.904 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.0166, allocations: 358.9 kB / 0.9043 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.01661, allocations: 16.88 kB / 0.9043 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.01665, allocations: 28.38 kB / 0.9043 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.01698, allocations: 367.2 kB / 0.9047 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.01699, allocations: 0 / 0.9047 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.01701, allocations: 12 kB / 0.9047 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.01703, allocations: 8 kB / 0.9047 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.01714, allocations: 77.38 kB / 0.9048 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.01829, allocations: 1.309 MB / 0.9061 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.01846, allocations: 91.09 kB / 0.9062 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.0185, allocations: 27.67 kB / 0.9062 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.01857, allocations: 12 kB / 0.9062 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.01873, allocations: 199.8 kB / 0.9064 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.01874, allocations: 0 / 0.9064 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002247/0.01896, allocations: 141.3 kB / 0.9065 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.01899, allocations: 63.33 kB / 0.9066 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.0192, allocations: 346 kB / 0.9069 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.01922, allocations: 33.7 kB / 0.9069 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.01935, allocations: 271 kB / 0.9072 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.01938, allocations: 55.56 kB / 0.9072 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.01944, allocations: 59.34 kB / 0.9073 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.01958, allocations: 0.5234 MB / 0.9078 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.743e-05/0.01962, allocations: 45.69 kB / 0.9079 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.01972, allocations: 162.2 kB / 0.908 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.01987, allocations: 199.4 kB / 0.9082 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01987, allocations: 0 / 0.9082 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002281/0.0201, allocations: 258.3 kB / 0.9085 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.02013, allocations: 37.69 kB / 0.9085 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.02013, allocations: 0 / 0.9085 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.02015, allocations: 4.312 kB / 0.9085 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.02028, allocations: 63.91 kB / 0.9086 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.02028, allocations: 4 kB / 0.9086 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.0204, allocations: 39.77 kB / 0.9086 GB, free: 5.973 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.02041, allocations: 8 kB / 0.9086 GB, free: 5.965 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.77e-05/0.02051, allocations: 172.5 kB / 0.9088 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.02054, allocations: 35.81 kB / 0.9088 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.0207, allocations: 134.9 kB / 0.9089 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.02071, allocations: 4 kB / 0.9089 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.02071, allocations: 4 kB / 0.9089 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001957/0.0209, allocations: 423.8 kB / 0.9093 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.02112, allocations: 212.9 kB / 0.9095 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02112, allocations: 0 / 0.9095 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.02127, allocations: 27.98 kB / 0.9096 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.02127, allocations: 0 / 0.9096 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.02128, allocations: 4 kB / 0.9096 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.02128, allocations: 7.938 kB / 0.9096 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.02128, allocations: 0 / 0.9096 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.0215, allocations: 185.6 kB / 0.9098 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.02157, allocations: 51.72 kB / 0.9098 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.02159, allocations: 4 kB / 0.9098 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.02169, allocations: 15.98 kB / 0.9098 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.02173, allocations: 11.97 kB / 0.9098 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.02175, allocations: 8 kB / 0.9098 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001064/0.02185, allocations: 230.9 kB / 0.9101 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.02185, allocations: 4 kB / 0.9101 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002548/0.02211, allocations: 115.7 kB / 0.9102 GB, free: 4.199 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.000231/0.02234, allocations: 147 kB / 0.9103 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.02252, allocations: 182.4 kB / 0.9105 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02252, allocations: 0 / 0.9105 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.02258, allocations: 51.66 kB / 0.9105 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.02306, allocations: 202.9 kB / 0.9107 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.02408, allocations: 0.6412 MB / 0.9114 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.02413, allocations: 96.61 kB / 0.9115 GB, free: 2.816 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.02427, allocations: 63.19 kB / 0.9115 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.02452, allocations: 218 kB / 0.9117 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of SimCode: time 7.52e-07/0.02452, allocations: 0 / 0.9117 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of Templates: time 0.009139/0.03366, allocations: 7.35 MB / 0.9189 GB, free: 11.38 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.467533217277378]