Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000817/0.000817, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.0007943/0.0007943, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9618/0.9618, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.808/1.808, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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_13_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation,fileNamePrefix="Buildings_13_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.089e-05, allocations: 2.281 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation): time 0.005038/0.005059, allocations: 1.827 MB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004317/0.005491, allocations: 179.3 kB / 1.003 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.005592, allocations: 0 / 1.003 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.005745, allocations: 23.73 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.854e-05/0.005844, allocations: 19.8 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.006051, allocations: 67.86 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.006266, allocations: 175.6 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.006463, allocations: 63.23 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.006586, allocations: 95.78 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.006697, allocations: 59.8 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.006728, allocations: 16 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.357e-05/0.006752, allocations: 16 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.006814, allocations: 35.91 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.006885, allocations: 55.83 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.007119, allocations: 203.3 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.007123, allocations: 4 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.373e-06/0.007125, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.00713, allocations: 4 kB / 1.003 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.000733/0.007863, allocations: 402.5 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.007909, allocations: 9.344 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.007958, allocations: 46.73 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.008012, allocations: 24.78 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.008291, allocations: 170.1 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.008314, allocations: 16.36 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.008346, allocations: 16.38 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.008672, allocations: 152.7 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.008689, allocations: 192 / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.008709, allocations: 11.94 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.008717, allocations: 4 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.008968, allocations: 119.8 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.009688, allocations: 415.5 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.009925, allocations: 126.5 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01003, allocations: 64.8 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.01004, allocations: 3.938 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.01025, allocations: 143.2 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 2.365e-06/0.01025, allocations: 0 / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0004276/0.01068, allocations: 257.4 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.01071, allocations: 55.41 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.01084, allocations: 166.9 kB / 1.006 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.01086, allocations: 33.69 kB / 1.006 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.01094, allocations: 116.5 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.01096, allocations: 31.81 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.01102, allocations: 45.7 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.0111, allocations: 322.8 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.0112, allocations: 67.94 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.01131, allocations: 99.16 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.01152, allocations: 157 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01152, allocations: 0 / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002577/0.01178, allocations: 209.2 kB / 1.007 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.01179, allocations: 7.938 kB / 1.007 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.0118, allocations: 4 kB / 1.007 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.01181, allocations: 0 / 1.007 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.0119, allocations: 23.98 kB / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.0119, allocations: 0 / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.01197, allocations: 28.05 kB / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.01198, allocations: 8 kB / 1.007 GB, free: 7.176 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 9.274e-05/0.01207, allocations: 142.4 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.01209, allocations: 23.83 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.01212, allocations: 12.78 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01212, allocations: 7.938 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.01213, allocations: 0 / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01213, allocations: 0 / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.01264, allocations: 0.5004 MB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01264, allocations: 0 / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.0127, allocations: 15.92 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01271, allocations: 4 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01272, allocations: 3.984 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01272, allocations: 0 / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01272, allocations: 0 / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.01313, allocations: 387.3 kB / 1.008 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.01315, allocations: 11.94 kB / 1.008 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.01317, allocations: 11.98 kB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.01324, allocations: 11.98 kB / 1.008 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.0133, allocations: 15.97 kB / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.01331, allocations: 11.98 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.555e-05/0.01337, allocations: 122.8 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01337, allocations: 0 / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001968/0.01357, allocations: 35.89 kB / 1.008 GB, free: 5.805 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.0006526/0.01422, allocations: 0.927 MB / 1.009 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.01449, allocations: 151.8 kB / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01449, allocations: 0 / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.0146, allocations: 82 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.01487, allocations: 19.98 kB / 1.009 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.01676, allocations: 1.967 MB / 1.011 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.524e-05/0.01685, allocations: 107.6 kB / 1.011 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.764e-05/0.01692, allocations: 25.47 kB / 1.011 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.687e-05/0.01699, allocations: 44.48 kB / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of SimCode: time 1.032e-06/0.01699, allocations: 0 / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0787/0.09569, allocations: 4.26 MB / 1.015 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/7.046, allocations: 6.234 kB / 1.015 GB, free: 14.25 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe ; mkfifo Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe >> ../files/Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation_fmu --startTime=0 --stopTime=6.3072e+07 --stepSize=25228.8 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation.fmu) > Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation_fmpy_res.csv --start-time 0 --stop-time 6.3072e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 ../Buildings_13_Buildings_Fluid_AirFilters_BaseClasses_Validation_MassAccumulation.fmu) > Buildings_13_Buildings.Fluid.AirFilters.BaseClasses.Validation.MassAccumulation_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.654900273308158]