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.0007384/0.0007384, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001757, allocations: 440 kB / 10.41 MB, free: 284 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.0006922/0.0006922, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008957/0.001588, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9115/0.9115, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08102/0.9925, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.404/2.404, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2425/2.646, allocations: 146 MB / 0.8176 GB, free: 3.801 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 1.863e-06/1.863e-06, allocations: 0 / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.876e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.008605/0.008634, allocations: 7.17 MB / 0.8259 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003817/0.01245, allocations: 2.38 MB / 0.8282 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/0.01279, allocations: 31.75 kB / 0.8283 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.01322, allocations: 146.9 kB / 0.8284 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.01457, allocations: 0.7186 MB / 0.8291 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.01518, allocations: 339.3 kB / 0.8294 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.0166, allocations: 1.355 MB / 0.8308 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007844/0.01739, allocations: 355 kB / 0.8311 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009773/0.01837, allocations: 0.7352 MB / 0.8318 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.01879, allocations: 330.9 kB / 0.8321 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.01885, allocations: 40 kB / 0.8322 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.01923, allocations: 219.5 kB / 0.8324 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.01935, allocations: 99.59 kB / 0.8325 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.01953, allocations: 163.7 kB / 0.8326 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.0202, allocations: 490.4 kB / 0.8331 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.02021, allocations: 0 / 0.8331 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.112e-06/0.02021, allocations: 0 / 0.8331 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.02023, allocations: 4 kB / 0.8331 GB, free: 3.891 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001239/0.02147, allocations: 0.9344 MB / 0.834 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.0215, allocations: 8.031 kB / 0.834 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007451/0.02225, allocations: 168.5 kB / 0.8342 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.02282, allocations: 371.3 kB / 0.8345 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.02285, allocations: 25.03 kB / 0.8346 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.02291, allocations: 36.36 kB / 0.8346 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.02334, allocations: 386.6 kB / 0.835 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.02335, allocations: 3.953 kB / 0.835 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.02338, allocations: 12 kB / 0.835 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.02339, allocations: 8 kB / 0.835 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.02357, allocations: 99.09 kB / 0.8351 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.02482, allocations: 0.9581 MB / 0.836 GB, free: 0.7461 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.0251, allocations: 130.5 kB / 0.8361 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.02516, allocations: 44.78 kB / 0.8362 GB, free: 0.5625 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.02527, allocations: 27.98 kB / 0.8362 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.02548, allocations: 196.7 kB / 0.8364 GB, free: 320 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.02548, allocations: 0 / 0.8364 GB, free: 320 kB / 0.8073 GB Notification: Performance of matching and sorting (n=28): time 0.001779/0.02726, allocations: 0.796 MB / 0.8372 GB, free: 15.48 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.02729, allocations: 63.33 kB / 0.8372 GB, free: 15.41 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.02751, allocations: 329 kB / 0.8376 GB, free: 15.07 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.02754, allocations: 37.7 kB / 0.8376 GB, free: 15.03 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.02763, allocations: 201.3 kB / 0.8378 GB, free: 14.82 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.02769, allocations: 103.1 kB / 0.8379 GB, free: 14.72 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.02776, allocations: 53.69 kB / 0.8379 GB, free: 14.66 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.02785, allocations: 350.7 kB / 0.8383 GB, free: 14.31 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.02792, allocations: 69.67 kB / 0.8383 GB, free: 14.24 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.02803, allocations: 176.5 kB / 0.8385 GB, free: 14.02 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.02818, allocations: 183.4 kB / 0.8387 GB, free: 13.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02819, allocations: 7.938 kB / 0.8387 GB, free: 13.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003533/0.02854, allocations: 299.4 kB / 0.839 GB, free: 13.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.02857, allocations: 37.83 kB / 0.839 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.02857, allocations: 0 / 0.839 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.02884, allocations: 112.7 kB / 0.8391 GB, free: 13.35 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.02898, allocations: 59.89 kB / 0.8392 GB, free: 13.29 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.03026, allocations: 1.681 MB / 0.8408 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.03048, allocations: 31.97 kB / 0.8408 GB, free: 11.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.0305, allocations: 7.984 kB / 0.8409 GB, free: 11.48 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.0306, allocations: 136.6 kB / 0.841 GB, free: 11.34 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.03065, allocations: 32 kB / 0.841 GB, free: 11.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.03099, allocations: 248.4 kB / 0.8412 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.031, allocations: 8 kB / 0.8413 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-07/0.031, allocations: 0 / 0.8413 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003367/0.03133, allocations: 0.4976 MB / 0.8417 GB, free: 10.46 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.03194, allocations: 0.5504 MB / 0.8423 GB, free: 9.883 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.03194, allocations: 0 / 0.8423 GB, free: 9.883 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.03207, allocations: 51.95 kB / 0.8423 GB, free: 9.832 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.03215, allocations: 43.69 kB / 0.8424 GB, free: 9.789 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.0324, allocations: 104.7 kB / 0.8425 GB, free: 9.684 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.03242, allocations: 11.98 kB / 0.8425 GB, free: 9.672 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.03351, allocations: 1.607 MB / 0.8441 GB, free: 7.969 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.03351, allocations: 0 / 0.8441 GB, free: 7.969 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.03392, allocations: 379.4 kB / 0.8444 GB, free: 7.574 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.03396, allocations: 15.92 kB / 0.8444 GB, free: 7.559 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.03418, allocations: 32.06 kB / 0.8445 GB, free: 7.527 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.03424, allocations: 35.88 kB / 0.8445 GB, free: 7.492 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.03425, allocations: 8 kB / 0.8445 GB, free: 7.484 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001077/0.03436, allocations: 132.7 kB / 0.8446 GB, free: 7.355 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.03436, allocations: 0 / 0.8446 GB, free: 7.355 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003654/0.03473, allocations: 167.9 kB / 0.8448 GB, free: 7.191 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.vol.m,expVes.vol.h,vol.ports[1].h_outflow) * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001989/0.03493, allocations: 140.2 kB / 0.8449 GB, free: 7.047 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.0354, allocations: 408.4 kB / 0.8453 GB, free: 6.613 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.03542, allocations: 4 kB / 0.8453 GB, free: 6.609 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.0357, allocations: 271.7 kB / 0.8456 GB, free: 6.328 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.03677, allocations: 1.733 MB / 0.8473 GB, free: 4.281 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.03955, allocations: 0.7756 MB / 0.848 GB, free: 3.473 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.921e-05/0.03963, allocations: 117.6 kB / 0.8481 GB, free: 3.336 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.03983, allocations: 68.09 kB / 0.8482 GB, free: 3.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.04016, allocations: 201.2 kB / 0.8484 GB, free: 3.07 MB / 0.823 GB Notification: Performance of SimCode: time 6.62e-07/0.04016, allocations: 0 / 0.8484 GB, free: 3.07 MB / 0.823 GB Notification: Performance of Templates: time 0.01427/0.05442, allocations: 13.05 MB / 0.8611 GB, free: 6.32 MB / 0.8386 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Not compared, constant in the reference and not in the result: expVes.port_a.p Reference file matches [Calling sys.exit(0), Time elapsed: 5.4846680806949735]