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.0009451/0.0009451, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001027/0.001027, allocations: 181 kB / 23.36 MB, free: 1.129 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 1.016/1.016, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.56/2.56, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.573e-06/1.573e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.045e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.00718/0.007201, allocations: 7.287 MB / 0.8457 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.01041, allocations: 2.509 MB / 0.8482 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.01068, allocations: 23.81 kB / 0.8482 GB, free: 4.367 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.01108, allocations: 131 kB / 0.8483 GB, free: 4.238 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0008871/0.01197, allocations: 0.5398 MB / 0.8488 GB, free: 3.695 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.0125, allocations: 367 kB / 0.8492 GB, free: 3.336 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009648/0.01347, allocations: 1.101 MB / 0.8503 GB, free: 2.234 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.01407, allocations: 301.8 kB / 0.8506 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006318/0.0147, allocations: 0.5342 MB / 0.8511 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.01501, allocations: 263.1 kB / 0.8513 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.01505, allocations: 32 kB / 0.8514 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.01528, allocations: 143.6 kB / 0.8515 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/0.01536, allocations: 107.5 kB / 0.8516 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.01548, allocations: 147.7 kB / 0.8517 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.01596, allocations: 406.5 kB / 0.8521 GB, free: 352 kB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.01596, allocations: 0 / 0.8521 GB, free: 352 kB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.01596, allocations: 0 / 0.8521 GB, free: 352 kB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.01597, allocations: 0 / 0.8521 GB, free: 352 kB / 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.0007527/0.01672, allocations: 0.6331 MB / 0.8527 GB, free: 15.68 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.01675, allocations: 8.625 kB / 0.8528 GB, free: 15.67 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.01692, allocations: 64.83 kB / 0.8528 GB, free: 15.61 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.01728, allocations: 300.3 kB / 0.8531 GB, free: 15.29 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.0173, allocations: 28.81 kB / 0.8531 GB, free: 15.26 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.01734, allocations: 32.38 kB / 0.8532 GB, free: 15.23 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.01764, allocations: 351.9 kB / 0.8535 GB, free: 14.83 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.01765, allocations: 7.891 kB / 0.8535 GB, free: 14.82 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.01767, allocations: 12 kB / 0.8535 GB, free: 14.81 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.01769, allocations: 4 kB / 0.8535 GB, free: 14.81 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.0178, allocations: 69.41 kB / 0.8536 GB, free: 14.74 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.01868, allocations: 0.9306 MB / 0.8545 GB, free: 13.77 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.01883, allocations: 74.55 kB / 0.8546 GB, free: 13.68 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.01887, allocations: 28.84 kB / 0.8546 GB, free: 13.65 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-05/0.01892, allocations: 11.98 kB / 0.8546 GB, free: 13.64 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.01908, allocations: 190.1 kB / 0.8548 GB, free: 13.42 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.01909, allocations: 4 kB / 0.8548 GB, free: 13.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0001728/0.01926, allocations: 112.5 kB / 0.8549 GB, free: 13.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.01929, allocations: 59.39 kB / 0.855 GB, free: 13.23 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.01947, allocations: 296.5 kB / 0.8552 GB, free: 12.93 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.01949, allocations: 33.7 kB / 0.8553 GB, free: 12.89 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.01958, allocations: 189 kB / 0.8554 GB, free: 12.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.01961, allocations: 59.52 kB / 0.8555 GB, free: 12.64 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.01967, allocations: 53.69 kB / 0.8556 GB, free: 12.58 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.01977, allocations: 350.7 kB / 0.8559 GB, free: 12.23 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-05/0.01981, allocations: 45.69 kB / 0.8559 GB, free: 12.18 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.01989, allocations: 135.1 kB / 0.8561 GB, free: 12.01 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.02002, allocations: 165.8 kB / 0.8562 GB, free: 11.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.02002, allocations: 4 kB / 0.8562 GB, free: 11.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001871/0.02021, allocations: 214.6 kB / 0.8564 GB, free: 11.57 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.02024, allocations: 41.69 kB / 0.8565 GB, free: 11.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.02025, allocations: 4 kB / 0.8565 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.02026, allocations: 4 kB / 0.8565 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.02043, allocations: 56.22 kB / 0.8565 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.02044, allocations: 8 kB / 0.8565 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.02056, allocations: 39.7 kB / 0.8566 GB, free: 11.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.02057, allocations: 12 kB / 0.8566 GB, free: 11.41 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 9.033e-05/0.02066, allocations: 124.5 kB / 0.8567 GB, free: 11.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.0207, allocations: 27.97 kB / 0.8567 GB, free: 11.25 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.02085, allocations: 112.5 kB / 0.8568 GB, free: 11.13 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.02085, allocations: 0 / 0.8568 GB, free: 11.13 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.02085, allocations: 0 / 0.8568 GB, free: 11.13 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001686/0.02102, allocations: 403.7 kB / 0.8572 GB, free: 10.65 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.02121, allocations: 180.5 kB / 0.8574 GB, free: 10.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.02121, allocations: 0 / 0.8574 GB, free: 10.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.02131, allocations: 35.91 kB / 0.8574 GB, free: 10.42 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.02131, allocations: 0 / 0.8574 GB, free: 10.42 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.02132, allocations: 4 kB / 0.8574 GB, free: 10.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.02133, allocations: 4 kB / 0.8574 GB, free: 10.41 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02133, allocations: 0 / 0.8574 GB, free: 10.41 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.0215, allocations: 150 kB / 0.8576 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.02156, allocations: 39.78 kB / 0.8576 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.02159, allocations: 4 kB / 0.8576 GB, free: 10.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.02168, allocations: 19.98 kB / 0.8576 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.02173, allocations: 15.91 kB / 0.8577 GB, free: 10.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.02174, allocations: 11.98 kB / 0.8577 GB, free: 10.16 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.956e-05/0.02183, allocations: 107.5 kB / 0.8578 GB, free: 10.05 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.02183, allocations: 0 / 0.8578 GB, free: 10.05 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002332/0.02206, allocations: 119.7 kB / 0.8579 GB, free: 9.93 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.0001767/0.02224, allocations: 132.3 kB / 0.858 GB, free: 9.793 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.02241, allocations: 173.7 kB / 0.8582 GB, free: 9.602 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.02242, allocations: 4 kB / 0.8582 GB, free: 9.598 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.02247, allocations: 45.39 kB / 0.8582 GB, free: 9.551 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.02291, allocations: 204.1 kB / 0.8584 GB, free: 9.359 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009227/0.02383, allocations: 0.5931 MB / 0.859 GB, free: 8.734 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.02388, allocations: 104.5 kB / 0.8591 GB, free: 8.613 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.02402, allocations: 59.19 kB / 0.8592 GB, free: 8.555 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.02429, allocations: 181.2 kB / 0.8593 GB, free: 8.379 MB / 0.823 GB Notification: Performance of SimCode: time 7.92e-07/0.02429, allocations: 0 / 0.8593 GB, free: 8.379 MB / 0.823 GB Notification: Performance of Templates: time 0.009129/0.03342, allocations: 7.27 MB / 0.8664 GB, free: 1.305 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 -s gbode -gbm=radauIIA3 -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.653089807368815]