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.001034/0.001034, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001202/0.001202, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.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 2.057/2.057, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] 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.713e-06/1.713e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.88e-05, allocations: 4.469 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01031/0.01034, allocations: 7.298 MB / 0.7672 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00491/0.01525, allocations: 2.51 MB / 0.7696 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.01582, allocations: 24.75 kB / 0.7696 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.01633, allocations: 131.1 kB / 0.7698 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.01774, allocations: 0.5305 MB / 0.7703 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009132/0.01865, allocations: 361 kB / 0.7706 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.02016, allocations: 1.102 MB / 0.7717 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008497/0.02101, allocations: 298.4 kB / 0.772 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.02208, allocations: 0.5373 MB / 0.7725 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.02258, allocations: 267.1 kB / 0.7728 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.262e-05/0.02265, allocations: 32.66 kB / 0.7728 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.02304, allocations: 135.7 kB / 0.7729 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.02315, allocations: 104.2 kB / 0.773 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.02334, allocations: 148.3 kB / 0.7732 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006806/0.02402, allocations: 402.6 kB / 0.7735 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.02402, allocations: 0.6875 kB / 0.7735 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.02402, allocations: 0 / 0.7735 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.02403, allocations: 0.5312 kB / 0.7735 GB, free: 8.793 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.0009843/0.02502, allocations: 0.6462 MB / 0.7742 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.02505, allocations: 9.531 kB / 0.7742 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.02528, allocations: 56.83 kB / 0.7742 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.02582, allocations: 319.5 kB / 0.7745 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.02585, allocations: 20.88 kB / 0.7746 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.0259, allocations: 25.91 kB / 0.7746 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.02633, allocations: 347.9 kB / 0.7749 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.02635, allocations: 4 kB / 0.7749 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.02638, allocations: 10.38 kB / 0.7749 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.02641, allocations: 11.98 kB / 0.7749 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.02658, allocations: 73.34 kB / 0.775 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.02788, allocations: 0.9213 MB / 0.7759 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.02807, allocations: 86.41 kB / 0.776 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.02812, allocations: 28.84 kB / 0.776 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.528e-05/0.0282, allocations: 9.406 kB / 0.776 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.02842, allocations: 201.1 kB / 0.7762 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.985e-06/0.02843, allocations: 2.406 kB / 0.7762 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0002343/0.02866, allocations: 105.5 kB / 0.7763 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.0287, allocations: 55.41 kB / 0.7764 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.02898, allocations: 296.5 kB / 0.7767 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.029, allocations: 33.7 kB / 0.7767 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.02913, allocations: 193 kB / 0.7769 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.02919, allocations: 55.56 kB / 0.7769 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.02927, allocations: 56.42 kB / 0.777 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.02939, allocations: 350.7 kB / 0.7773 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.02946, allocations: 49.69 kB / 0.7774 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.02956, allocations: 119.1 kB / 0.7775 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.02975, allocations: 182.5 kB / 0.7777 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.02975, allocations: 0 / 0.7777 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002852/0.03004, allocations: 214.1 kB / 0.7779 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.03007, allocations: 33.7 kB / 0.7779 GB, free: 4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.03008, allocations: 0 / 0.7779 GB, free: 4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.0301, allocations: 8.719 kB / 0.7779 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.03036, allocations: 68.42 kB / 0.778 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.03036, allocations: 4 kB / 0.778 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.03055, allocations: 37.7 kB / 0.778 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.03057, allocations: 8 kB / 0.778 GB, free: 3.879 MB / 0.7292 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.0001126/0.03068, allocations: 128.5 kB / 0.7781 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.03073, allocations: 29.11 kB / 0.7782 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.03092, allocations: 112.5 kB / 0.7783 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.03093, allocations: 0.625 kB / 0.7783 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.03093, allocations: 0 / 0.7783 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002364/0.03116, allocations: 404.2 kB / 0.7787 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.03144, allocations: 176.5 kB / 0.7788 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.03144, allocations: 0 / 0.7788 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.0316, allocations: 31.98 kB / 0.7789 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.0316, allocations: 4 kB / 0.7789 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.03162, allocations: 5.391 kB / 0.7789 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.03162, allocations: 3.938 kB / 0.7789 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.03162, allocations: 0 / 0.7789 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.03186, allocations: 156.4 kB / 0.779 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.03195, allocations: 27.81 kB / 0.779 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.03199, allocations: 13.08 kB / 0.7791 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.03215, allocations: 11.98 kB / 0.7791 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.03221, allocations: 16.88 kB / 0.7791 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.03222, allocations: 4 kB / 0.7791 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001414/0.03236, allocations: 119.4 kB / 0.7792 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03236, allocations: 1.312 kB / 0.7792 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003884/0.03275, allocations: 111.7 kB / 0.7793 GB, free: 2.418 MB / 0.7292 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.0002412/0.03299, allocations: 131 kB / 0.7794 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.03323, allocations: 183.9 kB / 0.7796 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.03324, allocations: 0 / 0.7796 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.486e-05/0.03331, allocations: 47.59 kB / 0.7797 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.03396, allocations: 206.3 kB / 0.7799 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.03533, allocations: 0.5956 MB / 0.7804 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.203e-05/0.0354, allocations: 92.61 kB / 0.7805 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.03564, allocations: 63.2 kB / 0.7806 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.03604, allocations: 173.2 kB / 0.7808 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/0.03604, allocations: 1.125 kB / 0.7808 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of Templates: time 0.01355/0.04959, allocations: 7.238 MB / 0.7878 GB, free: 9.93 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 -s gbode -gbm=radauIIA3 -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.459814444649965]