Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.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.0009771/0.0009771, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.0009932/0.0009932, allocations: 173 kB / 24.06 MB, free: 452 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 0.9314/0.9314, allocations: 177.1 MB / 204.5 MB, free: 5.109 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.062/2.062, allocations: 429.5 MB / 0.6743 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.AirFilters.BaseClasses.Validation.MassAccumulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masAcc.mCon_flow.[0-9,]+.|masAcc.yRep|masAcc.mCon|masAcc.mCon_max",fileNamePrefix="Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation") translateModel(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masAcc.mCon_flow.[0-9,]+.|masAcc.yRep|masAcc.mCon|masAcc.mCon_max",fileNamePrefix="Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 3.938 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.319e-05, allocations: 5.969 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.001977/0.00199, allocations: 1.87 MB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002982/0.002288, allocations: 176.5 kB / 0.8814 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.00237, allocations: 4 kB / 0.8814 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.002493, allocations: 23.67 kB / 0.8814 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.002568, allocations: 32.66 kB / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.002705, allocations: 61.05 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.002856, allocations: 179.5 kB / 0.8817 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.002981, allocations: 51.27 kB / 0.8817 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.003096, allocations: 101.4 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.003166, allocations: 55.86 kB / 0.8819 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.003188, allocations: 12 kB / 0.8819 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.003206, allocations: 19.94 kB / 0.8819 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.003253, allocations: 41.94 kB / 0.8819 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.003297, allocations: 47.89 kB / 0.882 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.003437, allocations: 115.6 kB / 0.8821 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.003439, allocations: 0 / 0.8821 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003439, allocations: 0 / 0.8821 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.003443, allocations: 3.938 kB / 0.8821 GB, free: 3.25 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006793/0.004122, allocations: 0.498 MB / 0.8826 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.004148, allocations: 12.03 kB / 0.8826 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.004187, allocations: 28.84 kB / 0.8826 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.004337, allocations: 176.9 kB / 0.8828 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.004353, allocations: 13.09 kB / 0.8828 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.004375, allocations: 12.38 kB / 0.8828 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.004519, allocations: 112.5 kB / 0.8829 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.004528, allocations: 192 / 0.8829 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.004543, allocations: 16.11 kB / 0.8829 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004547, allocations: 0 / 0.8829 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.094e-05/0.004598, allocations: 37.25 kB / 0.883 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.005, allocations: 411.8 kB / 0.8834 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.389e-05/0.005094, allocations: 71.02 kB / 0.8834 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.005122, allocations: 23.72 kB / 0.8835 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.00513, allocations: 4 kB / 0.8835 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.005234, allocations: 97.02 kB / 0.8836 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 8.72e-07/0.005235, allocations: 0 / 0.8836 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0001896/0.005425, allocations: 145.3 kB / 0.8837 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.005449, allocations: 55.41 kB / 0.8837 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.888e-05/0.005538, allocations: 215.6 kB / 0.8839 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.005554, allocations: 29.7 kB / 0.884 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.005619, allocations: 171.2 kB / 0.8841 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.00564, allocations: 31.73 kB / 0.8842 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.005684, allocations: 47.33 kB / 0.8842 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.005793, allocations: 0.4962 MB / 0.8847 GB, free: 396 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.005817, allocations: 11.98 kB / 0.8847 GB, free: 384 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.005864, allocations: 70.09 kB / 0.8848 GB, free: 288 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.005938, allocations: 105.9 kB / 0.8849 GB, free: 156 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.00594, allocations: 0 / 0.8849 GB, free: 156 kB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001205/0.006061, allocations: 113.5 kB / 0.885 GB, free: 36 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.006071, allocations: 8 kB / 0.885 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.006075, allocations: 0 / 0.885 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.006083, allocations: 7.938 kB / 0.885 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.006152, allocations: 28.12 kB / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.006157, allocations: 4 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.0062, allocations: 11.95 kB / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.006207, allocations: 8 kB / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.repFil.u,$PRE.repFil.t_next,$whenCondition1,masAcc.notFul.greHys.y,$PRE.masAcc.notFul.greHys.y,masAcc.edg.u,$PRE.masAcc.edg.u,masAcc.edg.y,repFil.u,repFil.y,$whenCondition3,$whenCondition2,$whenCondition4,repFil.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 7.326e-05/0.006281, allocations: 169 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.006299, allocations: 19.89 kB / 0.8852 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.006327, allocations: 16.77 kB / 0.8852 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.00633, allocations: 7.938 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.006332, allocations: 0 / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006335, allocations: 4 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.00663, allocations: 417.7 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006631, allocations: 0 / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.006667, allocations: 4 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.00667, allocations: 7.984 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.006679, allocations: 3.938 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.00668, allocations: 0 / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006681, allocations: 0 / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.006876, allocations: 304.3 kB / 0.886 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.006886, allocations: 11.94 kB / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.006903, allocations: 11.94 kB / 0.886 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.006955, allocations: 11.98 kB / 0.886 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.006991, allocations: 15.97 kB / 0.886 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.006998, allocations: 4 kB / 0.886 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.007045, allocations: 149 kB / 0.8862 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007045, allocations: 0 / 0.8862 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001663/0.007211, allocations: 35.94 kB / 0.8862 GB, free: 14.74 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (masAcc.intWitRes.y) * Number of discrete variables: 10 (masAcc.edg.y,repFil.u,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,repFil.t_next,repFil.y,masAcc.edg.u,masAcc.notFul.greHys.y) * Number of discrete states: 3 (repFil.t_next,masAcc.notFul.greHys.y,masAcc.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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 6.778e-05/0.007279, allocations: 105.5 kB / 0.8863 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.007389, allocations: 87.48 kB / 0.8864 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.00739, allocations: 0 / 0.8864 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.007437, allocations: 39.67 kB / 0.8864 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.007635, allocations: 27.98 kB / 0.8864 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.007997, allocations: 295 kB / 0.8867 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.017e-05/0.008037, allocations: 75.69 kB / 0.8868 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.049e-05/0.008078, allocations: 13.48 kB / 0.8868 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.00816, allocations: 98.19 kB / 0.8869 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.00816, allocations: 0 / 0.8869 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.00336/0.01152, allocations: 2.089 MB / 0.8889 GB, free: 11.89 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe >> ../files/Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.sim & ./Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation.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.147512066178024]