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.0008219/0.0008219, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008968/0.0008968, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9254/0.9254, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.812/1.812, allocations: 389 MB / 0.633 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: "" <> buildModelFMU(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation,fileNamePrefix="Buildings_latest_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation,fileNamePrefix="Buildings_latest_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.831e-05, allocations: 4.391 kB / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.002491/0.00251, allocations: 1.819 MB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000344/0.002854, allocations: 167.4 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/0.002948, allocations: 7.938 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.003093, allocations: 15.8 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.204e-05/0.003185, allocations: 31.72 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.003353, allocations: 67.86 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.003537, allocations: 179.6 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.003695, allocations: 55.19 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.0038, allocations: 99.78 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.003894, allocations: 59.8 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.003926, allocations: 16 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.828e-05/0.003944, allocations: 16 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.004, allocations: 43.89 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.004058, allocations: 47.84 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.00425, allocations: 203.3 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004252, allocations: 4 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.273e-06/0.004253, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004257, allocations: 0 / 1.002 GB, free: 10.7 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.0005877/0.004845, allocations: 410.5 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.004884, allocations: 8.75 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.004921, allocations: 42.73 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.004957, allocations: 20.84 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.005159, allocations: 174 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.005175, allocations: 16.38 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.0052, allocations: 12.38 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.005444, allocations: 154.1 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.005454, allocations: 192 / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.005469, allocations: 11.92 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.005475, allocations: 4 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.00566, allocations: 119.9 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.0062, allocations: 423.4 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.006401, allocations: 126.5 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.355e-05/0.006495, allocations: 64.8 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.006509, allocations: 7.938 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/0.006939, allocations: 147.3 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.00694, allocations: 0 / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0003971/0.007337, allocations: 251.8 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.007372, allocations: 63.33 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.007479, allocations: 166.3 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.007497, allocations: 33.64 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.007558, allocations: 112.5 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.007584, allocations: 39.73 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.007628, allocations: 41.7 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.007724, allocations: 322.8 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.007819, allocations: 59.95 kB / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.007932, allocations: 107.3 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.008116, allocations: 157 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.008119, allocations: 0 / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002403/0.00836, allocations: 197.4 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.008376, allocations: 11.94 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.008383, allocations: 3.984 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.008395, allocations: 4 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.008473, allocations: 23.92 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.00848, allocations: 8.125 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.008542, allocations: 23.88 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.008551, allocations: 4 kB / 1.006 GB, free: 7.164 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 8.662e-05/0.008638, allocations: 138.6 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.008654, allocations: 19.84 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.008683, allocations: 20.77 kB / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.008685, allocations: 0 / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.008689, allocations: 0 / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008692, allocations: 4 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.009175, allocations: 0.4935 MB / 1.006 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009177, allocations: 0 / 1.006 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.009232, allocations: 15.98 kB / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.009234, allocations: 0 / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.009245, allocations: 0 / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.009247, allocations: 4 kB / 1.006 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.009249, allocations: 3.984 kB / 1.006 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.009637, allocations: 395.2 kB / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.009651, allocations: 11.89 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.009669, allocations: 4 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.009736, allocations: 15.97 kB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.009786, allocations: 16.02 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.009798, allocations: 11.98 kB / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.969e-05/0.009858, allocations: 123.2 kB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009858, allocations: 3.938 kB / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002817/0.01014, allocations: 36.02 kB / 1.007 GB, free: 5.789 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.00074/0.01088, allocations: 0.9332 MB / 1.008 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.01112, allocations: 152 kB / 1.008 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01112, allocations: 4.062 kB / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.01122, allocations: 75.89 kB / 1.008 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.01144, allocations: 23.97 kB / 1.008 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.01306, allocations: 1.97 MB / 1.01 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.808e-05/0.01314, allocations: 111.6 kB / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.249e-05/0.01319, allocations: 21.48 kB / 1.01 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.01327, allocations: 40.48 kB / 1.01 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.01327, allocations: 0 / 1.01 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.03426, allocations: 4.227 MB / 1.014 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/6.87, allocations: 9.375 kB / 1.014 GB, free: 14.26 MB / 0.9792 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation_fmu --startTime=0 --stopTime=6.3072e+07 --stepSize=25228.8 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation.fmu > Buildings_latest_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe 2>&1) [Timeout 840.0] 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: 11.021336337551475]