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.001925/0.001925, allocations: 82.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00244/0.00244, allocations: 169.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.822/1.822, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 3.085/3.085, allocations: 389 MB / 0.633 GB, free: 1.031 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.1.|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.1.|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 2.755e-06/2.755e-06, allocations: 0 / 1 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.692e-05/3.967e-05, allocations: 6.281 kB / 1 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.004487/0.004527, allocations: 1.816 MB / 1.002 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.00518, allocations: 191.3 kB / 1.002 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.005376, allocations: 3.938 kB / 1.002 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.005599, allocations: 19.8 kB / 1.002 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.005767, allocations: 19.8 kB / 1.002 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.006079, allocations: 71.8 kB / 1.002 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.006466, allocations: 183.4 kB / 1.002 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.006742, allocations: 59.23 kB / 1.002 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.006962, allocations: 99.8 kB / 1.003 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.007141, allocations: 59.84 kB / 1.003 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.007192, allocations: 16 kB / 1.003 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 3.748e-05/0.00723, allocations: 16 kB / 1.003 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-05/0.007329, allocations: 39.84 kB / 1.003 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.007436, allocations: 47.89 kB / 1.003 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.007886, allocations: 207.3 kB / 1.003 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.00789, allocations: 0 / 1.003 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.81e-07/0.007891, allocations: 0 / 1.003 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.007902, allocations: 0 / 1.003 GB, free: 3.414 MB / 0.9044 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.001231/0.009132, allocations: 410.4 kB / 1.003 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.009186, allocations: 12.03 kB / 1.003 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.801e-05/0.009284, allocations: 16.84 kB / 1.003 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.009668, allocations: 183.8 kB / 1.003 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.009697, allocations: 12.38 kB / 1.003 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.009745, allocations: 12.38 kB / 1.003 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.01019, allocations: 158 kB / 1.004 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.01021, allocations: 192 / 1.004 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.01024, allocations: 16.11 kB / 1.004 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.01025, allocations: 4 kB / 1.004 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.01067, allocations: 119.9 kB / 1.004 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009546/0.01162, allocations: 380 kB / 1.004 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.012, allocations: 130.5 kB / 1.004 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.01219, allocations: 68.84 kB / 1.004 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.01221, allocations: 4 kB / 1.004 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.01254, allocations: 135.2 kB / 1.004 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.01255, allocations: 0 / 1.004 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007339/0.01328, allocations: 257.4 kB / 1.005 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.01334, allocations: 59.41 kB / 1.005 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.01354, allocations: 162 kB / 1.005 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.01357, allocations: 29.7 kB / 1.005 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.01368, allocations: 120.4 kB / 1.005 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.01373, allocations: 35.86 kB / 1.005 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/0.01382, allocations: 41.7 kB / 1.005 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.014, allocations: 326.8 kB / 1.005 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.01419, allocations: 59.95 kB / 1.006 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.0145, allocations: 107.5 kB / 1.006 GB, free: 436 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.01487, allocations: 153 kB / 1.006 GB, free: 264 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.01487, allocations: 0 / 1.006 GB, free: 264 kB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004916/0.01536, allocations: 201.4 kB / 1.006 GB, free: 56 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.01538, allocations: 8 kB / 1.006 GB, free: 48 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01539, allocations: 0 / 1.006 GB, free: 48 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.01541, allocations: 7.938 kB / 1.006 GB, free: 40 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.01556, allocations: 27.91 kB / 1.006 GB, free: 12 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.01557, allocations: 0 / 1.006 GB, free: 12 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.01572, allocations: 27.88 kB / 1.006 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.01573, allocations: 4 kB / 1.006 GB, free: 15.98 MB / 0.92 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 (20): * Single equations (assignments): 20 * 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 0.0001584/0.01589, allocations: 147.3 kB / 1.006 GB, free: 15.83 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.01592, allocations: 11.95 kB / 1.006 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.01597, allocations: 16.78 kB / 1.006 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01598, allocations: 3.938 kB / 1.006 GB, free: 15.79 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.01599, allocations: 7.875 kB / 1.006 GB, free: 15.79 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.01599, allocations: 3.984 kB / 1.006 GB, free: 15.78 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.01686, allocations: 469.9 kB / 1.007 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.01686, allocations: 3.938 kB / 1.007 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.01697, allocations: 15.98 kB / 1.007 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01697, allocations: 0 / 1.007 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.017, allocations: 7.984 kB / 1.007 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.017, allocations: 0 / 1.007 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.017, allocations: 0 / 1.007 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.01783, allocations: 393.8 kB / 1.007 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.01785, allocations: 11.94 kB / 1.007 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.01789, allocations: 4 kB / 1.007 GB, free: 14.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.01803, allocations: 20.03 kB / 1.007 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.01812, allocations: 19.97 kB / 1.007 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.01813, allocations: 8 kB / 1.007 GB, free: 14.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001795/0.01831, allocations: 115.2 kB / 1.007 GB, free: 14.68 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.01831, allocations: 0 / 1.007 GB, free: 14.68 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003045/0.01862, allocations: 31.94 kB / 1.007 GB, free: 14.65 MB / 0.92 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 (13): * Single equations (assignments): 11 * 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.0001695/0.01879, allocations: 107.2 kB / 1.007 GB, free: 14.54 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005808/0.01937, allocations: 155.8 kB / 1.008 GB, free: 14.39 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01937, allocations: 0 / 1.008 GB, free: 14.39 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.01959, allocations: 75.88 kB / 1.008 GB, free: 14.31 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.01993, allocations: 35.86 kB / 1.008 GB, free: 14.28 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008579/0.02079, allocations: 302.2 kB / 1.008 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.02093, allocations: 111.6 kB / 1.008 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.354e-05/0.02101, allocations: 17.48 kB / 1.008 GB, free: 13.81 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.02109, allocations: 24.5 kB / 1.008 GB, free: 13.79 MB / 0.92 GB Notification: Performance of SimCode: time 9.41e-07/0.02109, allocations: 0 / 1.008 GB, free: 13.79 MB / 0.92 GB Notification: Performance of Templates: time 0.006753/0.02784, allocations: 1.922 MB / 1.01 GB, free: 11.9 MB / 0.92 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.299599513411522]