Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.0008433/0.0008433, 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.0008811/0.0008811, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8648/0.8648, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.787/1.787, 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.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.309e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.0009722/0.0009853, allocations: 0.5916 MB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.001407, allocations: 263 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.001422, allocations: 3.938 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.001439, allocations: 3.938 kB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-06/0.001447, allocations: 0 / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.001898, allocations: 106 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.743e-05/0.001945, allocations: 3.984 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.001989, allocations: 0 / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.777e-05/0.002017, allocations: 4 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.055e-05/0.002037, allocations: 4 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.002048, allocations: 3.938 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.002259, allocations: 119.8 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.002269, allocations: 0 / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.319e-05/0.002282, allocations: 0 / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.002431, allocations: 91.78 kB / 1.001 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.002433, allocations: 0 / 1.001 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.92e-07/0.002434, allocations: 3.938 kB / 1.001 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.002439, allocations: 0 / 1.001 GB, free: 12.27 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002574/0.002696, allocations: 258.3 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.002738, allocations: 8.75 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.002768, allocations: 34.75 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.002795, allocations: 0.9375 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.184e-05/0.002857, allocations: 109.7 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.002868, allocations: 4.375 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.002876, allocations: 384 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9e-05/0.002966, allocations: 26.27 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.002975, allocations: 192 / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.002982, allocations: 384 / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.002989, allocations: 8.125 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.887e-05/0.003008, allocations: 4 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.003124, allocations: 120.8 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.173e-05/0.003166, allocations: 22.55 kB / 1.001 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.00318, allocations: 4.859 kB / 1.001 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005237/0.003703, allocations: 95.97 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.003725, allocations: 30.56 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 3.016e-06/0.003728, allocations: 3.984 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001399/0.003868, allocations: 33.7 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.003902, allocations: 59.33 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.669e-05/0.003928, allocations: 89.86 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.003938, allocations: 29.7 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.003959, allocations: 80.14 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.003983, allocations: 3.953 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.004002, allocations: 13.66 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.004076, allocations: 319 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.004087, allocations: 11.94 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-06/0.004092, allocations: 0 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.088e-05/0.004113, allocations: 8.859 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004114, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.26e-05/0.004147, allocations: 33.69 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.00416, allocations: 8 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.004164, allocations: 3.938 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.004175, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.394e-05/0.004209, allocations: 96 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.004217, allocations: 11.88 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.484e-06/0.004224, allocations: 0 / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.00423, allocations: 7.984 kB / 1.002 GB, free: 10.66 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 (1): * Single equations (assignments): 1 * 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 4.712e-05/0.004277, allocations: 105.8 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-06/0.004281, allocations: 0 / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.004339, allocations: 40.69 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.00434, allocations: 0 / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.004345, allocations: 3.938 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004348, allocations: 4 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.151e-05/0.004409, allocations: 116.8 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.00441, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-06/0.004417, allocations: 3.984 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.004419, allocations: 4 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.004425, allocations: 0 / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.004425, allocations: 0 / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.004427, allocations: 3.938 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.226e-05/0.004469, allocations: 61.08 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-06/0.004473, allocations: 0 / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.004482, allocations: 3.984 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-06/0.004486, allocations: 0 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.004498, allocations: 7.969 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.0045, allocations: 4 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.194e-05/0.004522, allocations: 76.06 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004522, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001584/0.004681, allocations: 23.94 kB / 1.003 GB, free: 10.13 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 (1): * Single equations (assignments): 1 * 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.0003224/0.005003, allocations: 0.6358 MB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.00507, allocations: 4 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005071, allocations: 0 / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/0.005074, allocations: 0 / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.005187, allocations: 18.11 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.005428, allocations: 118.5 kB / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.005461, allocations: 55.48 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.978e-06/0.005471, allocations: 11.94 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/0.005486, allocations: 8.5 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.005487, allocations: 0 / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.02065, allocations: 2.046 MB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.925, allocations: 8 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_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_Functions_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.035004999488592]