Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001157/0.001157, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.002381/0.002381, allocations: 164.9 kB / 24.87 MB, free: 8.891 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.9503/0.9503, allocations: 177.2 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.952/1.952, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0.875 kB / 0.8127 GB, free: 332 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.951e-05, allocations: 6.375 kB / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006731/0.00675, allocations: 7.213 MB / 0.8198 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.009641, allocations: 2.468 MB / 0.8222 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.009899, allocations: 23.81 kB / 0.8222 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.01033, allocations: 124.2 kB / 0.8223 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000808/0.01113, allocations: 0.5339 MB / 0.8229 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.0116, allocations: 365.1 kB / 0.8232 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008805/0.01248, allocations: 1.096 MB / 0.8243 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.01278, allocations: 269.1 kB / 0.8245 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008/0.01358, allocations: 0.5527 MB / 0.8251 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.01387, allocations: 279.1 kB / 0.8253 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.01391, allocations: 33.12 kB / 0.8254 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.0141, allocations: 139.7 kB / 0.8255 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.891e-05/0.01419, allocations: 99.55 kB / 0.8256 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.01431, allocations: 148.8 kB / 0.8258 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.01478, allocations: 406.6 kB / 0.8261 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01479, allocations: 0 / 0.8261 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.41e-07/0.01479, allocations: 1.031 kB / 0.8261 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.01479, allocations: 0 / 0.8261 GB, free: 2.621 MB / 0.7292 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.0008028/0.01559, allocations: 0.7625 MB / 0.8269 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.01563, allocations: 13.78 kB / 0.8269 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.0158, allocations: 76.53 kB / 0.827 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.01618, allocations: 357.6 kB / 0.8273 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.0162, allocations: 23.25 kB / 0.8273 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.01624, allocations: 28.38 kB / 0.8274 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.01659, allocations: 363.2 kB / 0.8277 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.01661, allocations: 3.953 kB / 0.8277 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.01663, allocations: 12 kB / 0.8277 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.01665, allocations: 8 kB / 0.8277 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.01677, allocations: 79.2 kB / 0.8278 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.01784, allocations: 1.3 MB / 0.8291 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.018, allocations: 95.03 kB / 0.8292 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.01804, allocations: 35.7 kB / 0.8292 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.228e-05/0.0181, allocations: 8 kB / 0.8292 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.01827, allocations: 199.8 kB / 0.8294 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.993e-06/0.01828, allocations: 0 / 0.8294 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.000235/0.01851, allocations: 143.9 kB / 0.8295 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.01854, allocations: 55.41 kB / 0.8296 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.01876, allocations: 350.1 kB / 0.8299 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.01878, allocations: 29.7 kB / 0.8299 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.01892, allocations: 275 kB / 0.8302 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.01895, allocations: 55.52 kB / 0.8303 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.01902, allocations: 63.33 kB / 0.8303 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.01916, allocations: 0.5156 MB / 0.8308 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.454e-05/0.01922, allocations: 57.67 kB / 0.8309 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.763e-05/0.01932, allocations: 154.2 kB / 0.831 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.01947, allocations: 212.1 kB / 0.8312 GB, free: 13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.01947, allocations: 4 kB / 0.8312 GB, free: 13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000249/0.01972, allocations: 252.6 kB / 0.8315 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.01975, allocations: 34.02 kB / 0.8315 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.01976, allocations: 4 kB / 0.8315 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.01977, allocations: 4 kB / 0.8315 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.01991, allocations: 59.91 kB / 0.8316 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.01992, allocations: 7.984 kB / 0.8316 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.02003, allocations: 23.89 kB / 0.8316 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.02004, allocations: 12 kB / 0.8316 GB, free: 12.58 MB / 0.7448 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.0001019/0.02015, allocations: 180.4 kB / 0.8318 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.02018, allocations: 35.81 kB / 0.8318 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.02035, allocations: 128.5 kB / 0.8319 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.02036, allocations: 4 kB / 0.8319 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.02036, allocations: 3.938 kB / 0.832 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001877/0.02055, allocations: 423.7 kB / 0.8324 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.02076, allocations: 213 kB / 0.8326 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02077, allocations: 0 / 0.8326 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.02085, allocations: 27.98 kB / 0.8326 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.02085, allocations: 0 / 0.8326 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.02086, allocations: 7.984 kB / 0.8326 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.02086, allocations: 4 kB / 0.8326 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.02087, allocations: 4 kB / 0.8326 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.02107, allocations: 193.1 kB / 0.8328 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.02113, allocations: 47.72 kB / 0.8328 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.02116, allocations: 4 kB / 0.8328 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.02125, allocations: 11.98 kB / 0.8328 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.0213, allocations: 15.97 kB / 0.8329 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.02132, allocations: 4 kB / 0.8329 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001206/0.02144, allocations: 234.9 kB / 0.8331 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02144, allocations: 0 / 0.8331 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002561/0.02169, allocations: 107.8 kB / 0.8332 GB, free: 10.82 MB / 0.7448 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.0002162/0.02191, allocations: 159 kB / 0.8333 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.02212, allocations: 187.4 kB / 0.8335 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02212, allocations: 0 / 0.8335 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.02218, allocations: 43.59 kB / 0.8336 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.02271, allocations: 208.2 kB / 0.8338 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.02371, allocations: 0.6388 MB / 0.8344 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.498e-05/0.02376, allocations: 96.61 kB / 0.8345 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.02389, allocations: 55.25 kB / 0.8345 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.02416, allocations: 214 kB / 0.8347 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.02416, allocations: 8 kB / 0.8347 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of Templates: time 0.009099/0.03326, allocations: 7.401 MB / 0.842 GB, free: 1.965 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.336036232300103]