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.001877/0.001877, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002521/0.002521, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.667/1.667, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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.314/3.314, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] 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.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.893e-06/1.893e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.485e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.004448/0.004483, allocations: 1.83 MB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.005283, allocations: 172.5 kB / 0.8795 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.005501, allocations: 4 kB / 0.8795 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.005761, allocations: 27.89 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.005938, allocations: 17.52 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.006276, allocations: 71.8 kB / 0.8797 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.006642, allocations: 179.5 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.006902, allocations: 55.75 kB / 0.8799 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.007131, allocations: 93.55 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.00733, allocations: 63.78 kB / 0.88 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.007379, allocations: 16 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.873e-05/0.007418, allocations: 16 kB / 0.8801 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.835e-05/0.007516, allocations: 44.34 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.007626, allocations: 49.23 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.008006, allocations: 199.3 kB / 0.8803 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.00801, allocations: 0 / 0.8803 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.392e-06/0.008011, allocations: 0 / 0.8803 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.00802, allocations: 5.594 kB / 0.8803 GB, free: 3.684 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.001233/0.009252, allocations: 402.5 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.009311, allocations: 9.844 kB / 0.8807 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.009443, allocations: 32.83 kB / 0.8808 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.009841, allocations: 186 kB / 0.8809 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.009866, allocations: 8.375 kB / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.009919, allocations: 23.11 kB / 0.881 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.01038, allocations: 151.2 kB / 0.8811 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.0104, allocations: 192 / 0.8811 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.01043, allocations: 12.12 kB / 0.8811 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.01043, allocations: 0 / 0.8811 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.01081, allocations: 124.5 kB / 0.8812 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009188/0.01173, allocations: 389.4 kB / 0.8816 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.01211, allocations: 138.4 kB / 0.8818 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.0123, allocations: 56.88 kB / 0.8818 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.01232, allocations: 4 kB / 0.8818 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003438/0.01266, allocations: 138.2 kB / 0.8819 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.01266, allocations: 0 / 0.8819 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0008248/0.01349, allocations: 273.3 kB / 0.8822 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.01355, allocations: 51.41 kB / 0.8823 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.01377, allocations: 160.7 kB / 0.8824 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.01381, allocations: 37.69 kB / 0.8824 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.01393, allocations: 116.5 kB / 0.8826 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.01398, allocations: 31.86 kB / 0.8826 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.01408, allocations: 33.72 kB / 0.8826 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.0143, allocations: 330.8 kB / 0.8829 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.0145, allocations: 59.91 kB / 0.883 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.01472, allocations: 109.8 kB / 0.8831 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.01513, allocations: 164.9 kB / 0.8832 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01513, allocations: 0 / 0.8832 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000537/0.01567, allocations: 209.3 kB / 0.8834 GB, free: 300 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.01569, allocations: 4 kB / 0.8835 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01569, allocations: 0 / 0.8835 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.01572, allocations: 7.938 kB / 0.8835 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.01587, allocations: 23.98 kB / 0.8835 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.01589, allocations: 11.92 kB / 0.8835 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.01603, allocations: 15.92 kB / 0.8835 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.01605, allocations: 4 kB / 0.8835 GB, free: 232 kB / 0.8386 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.0001595/0.01621, allocations: 138.5 kB / 0.8836 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.01626, allocations: 23.89 kB / 0.8837 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.01631, allocations: 16.78 kB / 0.8837 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01632, allocations: 3.938 kB / 0.8837 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.01633, allocations: 4 kB / 0.8837 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.01633, allocations: 3.984 kB / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009791/0.01731, allocations: 469.9 kB / 0.8841 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.01732, allocations: 7.938 kB / 0.8842 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.01743, allocations: 19.92 kB / 0.8842 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01744, allocations: 0 / 0.8842 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01745, allocations: 0 / 0.8842 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.01746, allocations: 7.938 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01746, allocations: 0 / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.01882, allocations: 390.6 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.01884, allocations: 12 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.01888, allocations: 12 kB / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.01903, allocations: 15.97 kB / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.01912, allocations: 23.94 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.01914, allocations: 8 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001265/0.01927, allocations: 122.1 kB / 0.8847 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01927, allocations: 0 / 0.8847 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003031/0.01957, allocations: 35.89 kB / 0.8848 GB, free: 14.88 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 (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.0001655/0.01974, allocations: 109 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.02024, allocations: 143.8 kB / 0.885 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02024, allocations: 4 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.02046, allocations: 71.88 kB / 0.8851 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.02083, allocations: 39.86 kB / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/0.02176, allocations: 305.4 kB / 0.8854 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.02193, allocations: 115.4 kB / 0.8855 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.455e-05/0.02202, allocations: 21.48 kB / 0.8855 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.02209, allocations: 20.48 kB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.02209, allocations: 0 / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.006189/0.02828, allocations: 1.925 MB / 0.8874 GB, free: 12.13 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=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: 8.925173611030914]