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.001318/0.001318, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002273/0.003591, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00144/0.00144, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002357/0.003797, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9576/0.9576, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08464/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.51/2.51, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2624/2.773, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.695e-06/2.695e-06, allocations: 7.938 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.325e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006822/0.006846, allocations: 7.325 MB / 0.8254 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003585/0.01043, allocations: 2.523 MB / 0.8279 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005034/0.01093, allocations: 23.81 kB / 0.8279 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.01132, allocations: 127.1 kB / 0.8281 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.01241, allocations: 0.5282 MB / 0.8286 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.01312, allocations: 363 kB / 0.8289 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.01437, allocations: 1.087 MB / 0.83 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007461/0.01511, allocations: 296.4 kB / 0.8303 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008257/0.01594, allocations: 0.6073 MB / 0.8309 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.01628, allocations: 263.1 kB / 0.8311 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.01632, allocations: 32 kB / 0.8311 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.01666, allocations: 143.6 kB / 0.8313 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.01674, allocations: 83.66 kB / 0.8314 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.01687, allocations: 123.8 kB / 0.8315 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.01743, allocations: 366.7 kB / 0.8318 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-05/0.01745, allocations: 0 / 0.8318 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.202e-06/0.01746, allocations: 0 / 0.8318 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.01747, allocations: 4 kB / 0.8318 GB, free: 5.016 MB / 0.8073 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.0008909/0.01837, allocations: 0.7307 MB / 0.8325 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.0184, allocations: 8.625 kB / 0.8325 GB, free: 4.246 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.01858, allocations: 137.9 kB / 0.8327 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.01895, allocations: 308.3 kB / 0.833 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.01897, allocations: 20.88 kB / 0.833 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.01901, allocations: 36.33 kB / 0.833 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.01935, allocations: 347.9 kB / 0.8334 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.01937, allocations: 7.922 kB / 0.8334 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.01939, allocations: 16 kB / 0.8334 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.01941, allocations: 8 kB / 0.8334 GB, free: 3.293 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.01952, allocations: 69.39 kB / 0.8335 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009039/0.02042, allocations: 0.9267 MB / 0.8344 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.02058, allocations: 78.53 kB / 0.8344 GB, free: 2.164 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.02062, allocations: 32.84 kB / 0.8345 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.478e-05/0.02068, allocations: 8 kB / 0.8345 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.02085, allocations: 186.1 kB / 0.8347 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 2.003e-06/0.02085, allocations: 0 / 0.8347 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0001769/0.02103, allocations: 120.6 kB / 0.8348 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.02106, allocations: 51.41 kB / 0.8348 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.02131, allocations: 296.6 kB / 0.8351 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.02134, allocations: 29.7 kB / 0.8351 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.02142, allocations: 201 kB / 0.8353 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.02146, allocations: 59.52 kB / 0.8354 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.02152, allocations: 57.61 kB / 0.8354 GB, free: 1.055 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.02162, allocations: 342.7 kB / 0.8358 GB, free: 0.7109 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.02167, allocations: 53.69 kB / 0.8358 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/0.02175, allocations: 135 kB / 0.8359 GB, free: 492 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.02188, allocations: 180.5 kB / 0.8361 GB, free: 272 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.02189, allocations: 0 / 0.8361 GB, free: 272 kB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001981/0.02209, allocations: 205 kB / 0.8363 GB, free: 48 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/0.02213, allocations: 41.73 kB / 0.8363 GB, free: 0 / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.02215, allocations: 4.047 kB / 0.8363 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.02217, allocations: 4 kB / 0.8364 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.02238, allocations: 63.84 kB / 0.8364 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.02238, allocations: 4 kB / 0.8364 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.02251, allocations: 31.83 kB / 0.8364 GB, free: 15.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.02253, allocations: 12 kB / 0.8365 GB, free: 15.88 MB / 0.823 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.000112/0.02264, allocations: 128.5 kB / 0.8366 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.02267, allocations: 31.97 kB / 0.8366 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.02285, allocations: 112.5 kB / 0.8367 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.02285, allocations: 0 / 0.8367 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.02285, allocations: 0 / 0.8367 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001822/0.02304, allocations: 399.8 kB / 0.8371 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.02327, allocations: 180.5 kB / 0.8373 GB, free: 14.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02328, allocations: 0 / 0.8373 GB, free: 14.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.0234, allocations: 35.91 kB / 0.8373 GB, free: 14.89 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.569e-05/0.02347, allocations: 36 kB / 0.8373 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.02348, allocations: 7.984 kB / 0.8373 GB, free: 14.85 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.02349, allocations: 4 kB / 0.8374 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.02349, allocations: 0 / 0.8374 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02349, allocations: 0 / 0.8374 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.02369, allocations: 158.6 kB / 0.8375 GB, free: 14.67 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.02372, allocations: 0 / 0.8375 GB, free: 14.67 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.02381, allocations: 16.03 kB / 0.8375 GB, free: 14.66 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.02385, allocations: 15.95 kB / 0.8375 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.02387, allocations: 12 kB / 0.8375 GB, free: 14.63 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.189e-05/0.02396, allocations: 115.4 kB / 0.8377 GB, free: 14.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.02396, allocations: 0 / 0.8377 GB, free: 14.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002731/0.02423, allocations: 119.8 kB / 0.8378 GB, free: 14.4 MB / 0.823 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.0002042/0.02444, allocations: 128.2 kB / 0.8379 GB, free: 14.27 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.02462, allocations: 188.1 kB / 0.8381 GB, free: 14.06 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.02464, allocations: 8 kB / 0.8381 GB, free: 14.05 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.02468, allocations: 44.77 kB / 0.8381 GB, free: 14.01 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.02515, allocations: 233.3 kB / 0.8383 GB, free: 13.79 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.02785, allocations: 0.5734 MB / 0.8389 GB, free: 13.18 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.154e-05/0.0279, allocations: 100.6 kB / 0.839 GB, free: 13.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.02808, allocations: 55.23 kB / 0.8391 GB, free: 13.01 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.02834, allocations: 189.1 kB / 0.8392 GB, free: 12.82 MB / 0.823 GB Notification: Performance of SimCode: time 1.042e-06/0.02834, allocations: 0 / 0.8392 GB, free: 12.82 MB / 0.823 GB Notification: Performance of Templates: time 0.0103/0.03865, allocations: 7.566 MB / 0.8466 GB, free: 5.441 MB / 0.823 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.ref.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.463938205502927]