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.0007683/0.0007683, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000834/0.000834, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8897/0.8897, allocations: 177.1 MB / 203.5 MB, free: 5.746 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 1.816/1.816, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.884e-06/1.884e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.138e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.003321/0.003352, allocations: 1.819 MB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005285/0.003881, allocations: 167.5 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.004023, allocations: 7.938 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.004203, allocations: 19.73 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.004322, allocations: 27.78 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.004574, allocations: 63.86 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.004832, allocations: 175.6 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.005051, allocations: 55.23 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.005212, allocations: 95.8 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.005343, allocations: 67.8 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.005386, allocations: 16 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.676e-05/0.005413, allocations: 19.94 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.00548, allocations: 39.89 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.984e-05/0.005559, allocations: 51.83 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.005833, allocations: 203.4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.005837, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.633e-06/0.005839, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.005844, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 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.0008927/0.006737, allocations: 410.5 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.006782, allocations: 8.75 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.006844, allocations: 16.84 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.007137, allocations: 178 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.007158, allocations: 12.38 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.007192, allocations: 16.38 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.007523, allocations: 150.1 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.007538, allocations: 192 / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.00756, allocations: 16.12 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.00757, allocations: 15.86 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.007838, allocations: 115.9 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.00855, allocations: 380.1 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.008832, allocations: 126.4 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.008971, allocations: 68.86 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.008986, allocations: 3.938 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.009243, allocations: 131.4 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 2.836e-06/0.009246, allocations: 0 / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0005629/0.009809, allocations: 271.8 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.009853, allocations: 55.41 kB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.009997, allocations: 157 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.01002, allocations: 33.7 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.01011, allocations: 124.4 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.01015, allocations: 31.73 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.01022, allocations: 41.7 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01033, allocations: 326.8 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.01046, allocations: 51.95 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.01061, allocations: 107.3 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.01087, allocations: 161 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01088, allocations: 0 / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003603/0.01124, allocations: 201.4 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.01126, allocations: 8.031 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01126, allocations: 4 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.01128, allocations: 3.938 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.0114, allocations: 23.97 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.01141, allocations: 7.938 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.0115, allocations: 19.94 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.01151, allocations: 8 kB / 1.007 GB, free: 6.766 MB / 0.9636 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.0001185/0.01163, allocations: 141.8 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.01165, allocations: 11.91 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.01169, allocations: 16.78 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.0117, allocations: 11.97 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.0117, allocations: 0 / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01171, allocations: 3.984 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.01236, allocations: 466 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.01236, allocations: 3.938 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.01245, allocations: 23.92 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01245, allocations: 0 / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01247, allocations: 3.984 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01247, allocations: 4 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01247, allocations: 0 / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.01302, allocations: 379.3 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.01304, allocations: 15.94 kB / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.01307, allocations: 8 kB / 1.008 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.01318, allocations: 20.03 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.01324, allocations: 19.91 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.01326, allocations: 4 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.35e-05/0.01334, allocations: 129.4 kB / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.01334, allocations: 0 / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002992/0.01364, allocations: 31.94 kB / 1.008 GB, free: 5.438 MB / 0.9636 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.0001348/0.01377, allocations: 111.2 kB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.0141, allocations: 146.5 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.0141, allocations: 4 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.01424, allocations: 75.88 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.01455, allocations: 29.48 kB / 1.008 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.01522, allocations: 327.6 kB / 1.009 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.821e-05/0.0153, allocations: 111.8 kB / 1.009 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.01536, allocations: 20.5 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of SimCode: time 4.6e-07/0.01536, allocations: 3.938 kB / 1.009 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of Templates: time 0.003672/0.01903, allocations: 2.084 MB / 1.011 GB, free: 2.492 MB / 0.9636 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: 7.076784498989582]