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.001226/0.001226, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001718/0.002944, allocations: 449.8 kB / 10.44 MB, free: 252 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.001061/0.001061, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002524, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9107/0.9107, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09739/1.008, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.875/1.875, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5051/2.38, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.903e-06/1.903e-06, allocations: 0.7656 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.776e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01108/0.0111, allocations: 7.336 MB / 0.7368 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005184/0.01629, allocations: 2.517 MB / 0.7393 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006226/0.01691, allocations: 24.69 kB / 0.7393 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.01738, allocations: 127.1 kB / 0.7394 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.0189, allocations: 0.5282 MB / 0.7399 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/0.01987, allocations: 366.3 kB / 0.7403 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.02146, allocations: 1.083 MB / 0.7413 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.02247, allocations: 297.5 kB / 0.7416 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.02377, allocations: 0.5841 MB / 0.7422 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/0.02432, allocations: 263.2 kB / 0.7424 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.0244, allocations: 36.59 kB / 0.7425 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.02488, allocations: 143.7 kB / 0.7426 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.025, allocations: 72.42 kB / 0.7427 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.02519, allocations: 119.8 kB / 0.7428 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007479/0.02593, allocations: 379.6 kB / 0.7431 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.646e-05/0.02595, allocations: 3.938 kB / 0.7431 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/0.02595, allocations: 1.281 kB / 0.7431 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.136e-05/0.02597, allocations: 0 / 0.7431 GB, free: 6.652 MB / 0.7136 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.001284/0.02726, allocations: 0.7291 MB / 0.7439 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.0273, allocations: 8.031 kB / 0.7439 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.02758, allocations: 133.9 kB / 0.744 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.02814, allocations: 315.4 kB / 0.7443 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.02817, allocations: 20.88 kB / 0.7443 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.02823, allocations: 25.31 kB / 0.7443 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.02872, allocations: 351.9 kB / 0.7447 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.02874, allocations: 8.906 kB / 0.7447 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.02876, allocations: 8 kB / 0.7447 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.0288, allocations: 12 kB / 0.7447 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.02897, allocations: 72.14 kB / 0.7448 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.03037, allocations: 0.9371 MB / 0.7457 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.03059, allocations: 73.92 kB / 0.7458 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.03065, allocations: 28.84 kB / 0.7458 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.192e-05/0.03073, allocations: 15.98 kB / 0.7458 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.03096, allocations: 194.1 kB / 0.746 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/0.03097, allocations: 2.031 kB / 0.746 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002528/0.03122, allocations: 107.5 kB / 0.7461 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.03126, allocations: 59.41 kB / 0.7461 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.03154, allocations: 292.5 kB / 0.7464 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.03158, allocations: 33.7 kB / 0.7465 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.0317, allocations: 197.6 kB / 0.7466 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.03175, allocations: 55.5 kB / 0.7467 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/0.03183, allocations: 54.25 kB / 0.7468 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.03195, allocations: 351.5 kB / 0.7471 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.03203, allocations: 49.69 kB / 0.7471 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.03214, allocations: 131.5 kB / 0.7473 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.03236, allocations: 184.1 kB / 0.7474 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.03236, allocations: 0 / 0.7474 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003047/0.03267, allocations: 210.7 kB / 0.7476 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.03272, allocations: 33.7 kB / 0.7477 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.03273, allocations: 4.656 kB / 0.7477 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.03274, allocations: 4 kB / 0.7477 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.03302, allocations: 68.64 kB / 0.7477 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.03303, allocations: 5.531 kB / 0.7477 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.03323, allocations: 31.83 kB / 0.7478 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.03326, allocations: 8 kB / 0.7478 GB, free: 1.551 MB / 0.7136 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.0001299/0.03339, allocations: 135 kB / 0.7479 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.03343, allocations: 23.97 kB / 0.7479 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.03364, allocations: 112.5 kB / 0.748 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.03364, allocations: 0 / 0.748 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.03364, allocations: 0 / 0.748 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002427/0.03388, allocations: 405.1 kB / 0.7484 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.03418, allocations: 180.4 kB / 0.7486 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.03418, allocations: 4 kB / 0.7486 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.03435, allocations: 39.91 kB / 0.7486 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/0.03444, allocations: 31.75 kB / 0.7487 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.03445, allocations: 0 / 0.7487 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.03447, allocations: 17.27 kB / 0.7487 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.03447, allocations: 0 / 0.7487 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.03447, allocations: 0 / 0.7487 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.03473, allocations: 147.8 kB / 0.7488 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.03477, allocations: 4.75 kB / 0.7488 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.03494, allocations: 14.52 kB / 0.7489 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.035, allocations: 15.97 kB / 0.7489 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.03502, allocations: 4 kB / 0.7489 GB, free: 312 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001473/0.03516, allocations: 115.4 kB / 0.749 GB, free: 192 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03516, allocations: 0 / 0.749 GB, free: 192 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004155/0.03558, allocations: 111.8 kB / 0.7491 GB, free: 80 kB / 0.7136 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.0003312/0.03591, allocations: 145.4 kB / 0.7492 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.03619, allocations: 183.2 kB / 0.7494 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/0.0362, allocations: 4 kB / 0.7494 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.03631, allocations: 51.08 kB / 0.7495 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.03749, allocations: 1.314 MB / 0.7507 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.04159, allocations: 0.5792 MB / 0.7513 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.813e-05/0.04167, allocations: 97.7 kB / 0.7514 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002685/0.04193, allocations: 54.36 kB / 0.7514 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/0.04235, allocations: 177.2 kB / 0.7516 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.372e-06/0.04235, allocations: 0.7812 kB / 0.7516 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.01402/0.05637, allocations: 7.547 MB / 0.759 GB, free: 5.934 MB / 0.7292 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.035510667599738]