Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.0008788/0.0008788, 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.0008644/0.0008644, 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.903/0.903, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.679/1.679, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9505 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.641e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001265/0.001281, allocations: 0.5946 MB / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004684/0.00175, allocations: 255 kB / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.419e-05/0.001764, allocations: 0 / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.00178, allocations: 0 / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.001787, allocations: 4 kB / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.002192, allocations: 91.66 kB / 0.9515 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.032e-05/0.002232, allocations: 0 / 0.9515 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.002269, allocations: 0 / 0.9515 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.796e-05/0.002297, allocations: 15.92 kB / 0.9515 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.002316, allocations: 0 / 0.9515 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.002325, allocations: 0 / 0.9515 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.002503, allocations: 107.8 kB / 0.9516 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.002514, allocations: 0 / 0.9516 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.295e-05/0.002527, allocations: 0 / 0.9516 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.002663, allocations: 95.72 kB / 0.9517 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002664, allocations: 4 kB / 0.9517 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002665, allocations: 3.938 kB / 0.9517 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.002669, allocations: 3.938 kB / 0.9517 GB, free: 2.262 MB / 0.9011 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.0002146/0.002883, allocations: 250.3 kB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.002919, allocations: 8.031 kB / 0.9519 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.002946, allocations: 34.73 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.82e-05/0.002964, allocations: 0.9375 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.17e-05/0.003016, allocations: 105.8 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.003025, allocations: 4.375 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.003031, allocations: 384 / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.664e-05/0.003108, allocations: 30.27 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.003115, allocations: 192 / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.003122, allocations: 4.375 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.003127, allocations: 4.125 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.003143, allocations: 0 / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.502e-05/0.003238, allocations: 124.6 kB / 0.9522 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.536e-05/0.003273, allocations: 22.61 kB / 0.9522 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.003287, allocations: 12.84 kB / 0.9523 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004022/0.003689, allocations: 75.89 kB / 0.9523 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.00371, allocations: 38.56 kB / 0.9524 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.00371, allocations: 0 / 0.9524 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.003828, allocations: 37.62 kB / 0.9524 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.003854, allocations: 55.34 kB / 0.9525 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.548e-05/0.00388, allocations: 89.86 kB / 0.9525 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.003888, allocations: 25.7 kB / 0.9526 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.003911, allocations: 88.27 kB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.003937, allocations: 0 / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.003959, allocations: 13.72 kB / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.004039, allocations: 310.8 kB / 0.953 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.004048, allocations: 4 kB / 0.953 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.004053, allocations: 0 / 0.953 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.014e-05/0.004073, allocations: 8.859 kB / 0.953 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.004075, allocations: 0 / 0.953 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.505e-05/0.00411, allocations: 37.62 kB / 0.953 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.004122, allocations: 8.094 kB / 0.953 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.004126, allocations: 3.938 kB / 0.953 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.004138, allocations: 8 kB / 0.953 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.721e-05/0.004175, allocations: 0 / 0.953 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.004181, allocations: 3.938 kB / 0.953 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-06/0.004188, allocations: 0 / 0.953 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.004192, allocations: 0 / 0.953 GB, free: 0.6836 MB / 0.9011 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.957e-05/0.004242, allocations: 113.8 kB / 0.9531 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-06/0.004245, allocations: 3.984 kB / 0.9531 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.004302, allocations: 32.7 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.004304, allocations: 7.969 kB / 0.9532 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.004311, allocations: 3.938 kB / 0.9532 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.004313, allocations: 0 / 0.9532 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.894e-05/0.004372, allocations: 124.8 kB / 0.9533 GB, free: 356 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.004373, allocations: 3.938 kB / 0.9533 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-06/0.004378, allocations: 0 / 0.9533 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.004379, allocations: 0 / 0.9533 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.004385, allocations: 4 kB / 0.9533 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.7e-07/0.004386, allocations: 0 / 0.9533 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.004388, allocations: 3.938 kB / 0.9533 GB, free: 344 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.405e-05/0.004432, allocations: 53.14 kB / 0.9534 GB, free: 272 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.004437, allocations: 7.984 kB / 0.9534 GB, free: 264 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-06/0.004444, allocations: 0 / 0.9534 GB, free: 264 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-06/0.004448, allocations: 0 / 0.9534 GB, free: 264 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.004459, allocations: 3.938 kB / 0.9534 GB, free: 260 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.72e-07/0.00446, allocations: 0 / 0.9534 GB, free: 260 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.029e-05/0.00448, allocations: 75.28 kB / 0.9535 GB, free: 184 kB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.00448, allocations: 4 kB / 0.9535 GB, free: 180 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001495/0.004629, allocations: 31.88 kB / 0.9535 GB, free: 148 kB / 0.9011 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.0003449/0.004974, allocations: 0.6319 MB / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.005307, allocations: 8 kB / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.005308, allocations: 0 / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.005311, allocations: 0 / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.512e-05/0.005407, allocations: 16 kB / 0.9541 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.005643, allocations: 126.9 kB / 0.9542 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.005676, allocations: 55.36 kB / 0.9543 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.054e-05/0.005687, allocations: 3.984 kB / 0.9543 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.005702, allocations: 8.5 kB / 0.9543 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of SimCode: time 7.91e-07/0.005703, allocations: 0 / 0.9543 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.01993, allocations: 2.036 MB / 0.9563 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.74/6.76, allocations: 4.469 kB / 0.9563 GB, free: 13.3 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 10.840317782945931]