Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.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.001039/0.001039, 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.001214/0.001214, allocations: 170.3 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.883/0.883, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.849/1.849, allocations: 389 MB / 0.633 GB, free: 12.7 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.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.768e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002404/0.002421, allocations: 1.452 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.003113, allocations: 323.6 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.003145, allocations: 4 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.003181, allocations: 3.938 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.003227, allocations: 3.984 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.0037, allocations: 95.61 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.003776, allocations: 31.84 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003878, allocations: 8 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.003932, allocations: 11.98 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.158e-05/0.003974, allocations: 11.98 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.003987, allocations: 0 / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.004205, allocations: 119.8 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.004218, allocations: 0 / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.004237, allocations: 4 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.004452, allocations: 107.7 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004455, allocations: 0 / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004456, allocations: 0 / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.004462, allocations: 4 kB / 1.002 GB, free: 11.33 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000422/0.004884, allocations: 278.2 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.004927, allocations: 12.75 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.004961, allocations: 34.69 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.004985, allocations: 0.9375 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.77e-05/0.005083, allocations: 117.7 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.005095, allocations: 384 / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.005105, allocations: 384 / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.005266, allocations: 50.23 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.005275, allocations: 192 / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005283, allocations: 4.375 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.005289, allocations: 8.125 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.005424, allocations: 31.95 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.005748, allocations: 216 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/0.005837, allocations: 38.55 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.00588, allocations: 20.91 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.006204, allocations: 79.92 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.006222, allocations: 34.5 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.006223, allocations: 4 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002149/0.006438, allocations: 85.67 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.006465, allocations: 51.41 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/0.006522, allocations: 109.8 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.006532, allocations: 25.7 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.006564, allocations: 80.14 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.00658, allocations: 7.891 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.006606, allocations: 17.72 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.00669, allocations: 314.8 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.006731, allocations: 19.98 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.601e-05/0.006767, allocations: 16.02 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.757e-05/0.006844, allocations: 40.81 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.006847, allocations: 4 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.948e-05/0.006947, allocations: 73.48 kB / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.006959, allocations: 4 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006964, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.006975, allocations: 4.094 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.007029, allocations: 11.98 kB / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.007034, allocations: 0 / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.007059, allocations: 11.98 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.007064, allocations: 3.984 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.069e-05/0.007115, allocations: 105.8 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.007127, allocations: 7.938 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.007259, allocations: 80.86 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.00726, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.007265, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007267, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.007375, allocations: 128.8 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007375, allocations: 0 / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.007399, allocations: 7.984 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.007402, allocations: 3.938 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007409, allocations: 4 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.00741, allocations: 0 / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.00741, allocations: 0 / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.007529, allocations: 159.5 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-06/0.007535, allocations: 3.938 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-06/0.007544, allocations: 0 / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.00758, allocations: 7.984 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.007617, allocations: 8 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.007619, allocations: 0 / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.593e-05/0.007645, allocations: 87.2 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007645, allocations: 0 / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001698/0.007815, allocations: 39.84 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003986/0.008214, allocations: 0.7319 MB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.008334, allocations: 35.95 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.008335, allocations: 0 / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.008377, allocations: 23.92 kB / 1.005 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.00854, allocations: 4 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.008837, allocations: 138.5 kB / 1.005 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.562e-05/0.008873, allocations: 59.48 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.677e-05/0.00889, allocations: 8 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.008991, allocations: 16.48 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.008991, allocations: 0 / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.02288, allocations: 2.429 MB / 1.007 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/6.982, allocations: 10.12 kB / 1.007 GB, free: 5.246 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.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.177217663265765]