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.001125/0.001125, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001392/0.001392, 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.869/0.869, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.721/1.721, 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.543e-06/1.543e-06, allocations: 0 / 0.9506 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.954e-05, allocations: 2.281 kB / 0.9506 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001211/0.001231, allocations: 0.5817 MB / 0.9511 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004122/0.001643, allocations: 255 kB / 0.9514 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.111e-05/0.001654, allocations: 0 / 0.9514 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.001668, allocations: 0 / 0.9514 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-06/0.001675, allocations: 0 / 0.9514 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.002065, allocations: 99.59 kB / 0.9515 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.866e-05/0.002104, allocations: 0 / 0.9515 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.002138, allocations: 4 kB / 0.9515 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.479e-05/0.002163, allocations: 7.984 kB / 0.9515 GB, free: 1.379 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.056e-05/0.002183, allocations: 3.984 kB / 0.9515 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.002192, allocations: 0 / 0.9515 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.002371, allocations: 111.8 kB / 0.9516 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.002382, allocations: 3.938 kB / 0.9516 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.002396, allocations: 3.938 kB / 0.9516 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.002529, allocations: 87.8 kB / 0.9517 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.002531, allocations: 0 / 0.9517 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.91e-07/0.002532, allocations: 0 / 0.9517 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.002536, allocations: 0 / 0.9517 GB, free: 1.172 MB / 0.8542 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.000226/0.002762, allocations: 258.3 kB / 0.9519 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.002799, allocations: 8.031 kB / 0.9519 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.67e-05/0.002825, allocations: 34.69 kB / 0.952 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.017e-05/0.002845, allocations: 0.9375 kB / 0.952 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.51e-05/0.002901, allocations: 105.8 kB / 0.9521 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.002909, allocations: 384 / 0.9521 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-06/0.002915, allocations: 384 / 0.9521 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.708e-05/0.002993, allocations: 34.25 kB / 0.9521 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.002998, allocations: 192 / 0.9521 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.003005, allocations: 4.375 kB / 0.9521 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.003011, allocations: 8.125 kB / 0.9521 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.541e-05/0.003026, allocations: 0 / 0.9521 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.609e-05/0.003122, allocations: 116.8 kB / 0.9522 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.31e-05/0.003155, allocations: 22.52 kB / 0.9522 GB, free: 480 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.003172, allocations: 4.859 kB / 0.9522 GB, free: 472 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/0.003573, allocations: 83.97 kB / 0.9523 GB, free: 388 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.003594, allocations: 38.56 kB / 0.9524 GB, free: 340 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.003595, allocations: 0 / 0.9524 GB, free: 340 kB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001082/0.003703, allocations: 29.7 kB / 0.9524 GB, free: 304 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.003732, allocations: 59.28 kB / 0.9524 GB, free: 232 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.495e-05/0.003757, allocations: 89.86 kB / 0.9525 GB, free: 132 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.003767, allocations: 25.7 kB / 0.9526 GB, free: 100 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.003786, allocations: 84.14 kB / 0.9526 GB, free: 12 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.00381, allocations: 3.953 kB / 0.9526 GB, free: 8 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.003849, allocations: 17.64 kB / 0.9527 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.003929, allocations: 319 kB / 0.953 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.003939, allocations: 8 kB / 0.953 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-06/0.003944, allocations: 0 / 0.953 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/0.003967, allocations: 8.859 kB / 0.953 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.003969, allocations: 0 / 0.953 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.413e-05/0.004003, allocations: 29.7 kB / 0.953 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.004015, allocations: 4 kB / 0.953 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.004022, allocations: 11.92 kB / 0.953 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.004034, allocations: 0 / 0.953 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.623e-05/0.00407, allocations: 4.094 kB / 0.953 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.004076, allocations: 3.938 kB / 0.953 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-06/0.004084, allocations: 3.938 kB / 0.953 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.004089, allocations: 0 / 0.953 GB, free: 15.58 MB / 0.8698 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 5.248e-05/0.004141, allocations: 113.8 kB / 0.9531 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-06/0.004144, allocations: 0 / 0.9531 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.004202, allocations: 36.69 kB / 0.9532 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.004205, allocations: 3.984 kB / 0.9532 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.00421, allocations: 3.938 kB / 0.9532 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.004213, allocations: 0 / 0.9532 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.763e-05/0.00427, allocations: 120.8 kB / 0.9533 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-07/0.004271, allocations: 0 / 0.9533 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.004277, allocations: 0 / 0.9533 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004278, allocations: 0 / 0.9533 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.004282, allocations: 4 kB / 0.9533 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.004283, allocations: 0 / 0.9533 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.004286, allocations: 11.86 kB / 0.9533 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.122e-05/0.004327, allocations: 53.14 kB / 0.9534 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-06/0.00433, allocations: 4 kB / 0.9534 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.004337, allocations: 0 / 0.9534 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-06/0.004341, allocations: 0 / 0.9534 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.004353, allocations: 7.969 kB / 0.9534 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.004355, allocations: 3.984 kB / 0.9534 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.004378, allocations: 79.28 kB / 0.9535 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.004378, allocations: 0 / 0.9535 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001602/0.004538, allocations: 27.88 kB / 0.9535 GB, free: 15.05 MB / 0.8698 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.0003362/0.004874, allocations: 0.6397 MB / 0.9541 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.619e-05/0.00493, allocations: 8 kB / 0.9541 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.004932, allocations: 0 / 0.9541 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-06/0.004936, allocations: 4 kB / 0.9541 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.789e-05/0.005034, allocations: 3.938 kB / 0.9541 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.005272, allocations: 123 kB / 0.9542 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.005307, allocations: 55.48 kB / 0.9543 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.757e-06/0.005316, allocations: 11.94 kB / 0.9543 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.005332, allocations: 8.5 kB / 0.9543 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/0.005332, allocations: 0 / 0.9543 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.02213, allocations: 2.041 MB / 0.9563 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/6.777, allocations: 1.719 kB / 0.9563 GB, free: 12.19 MB / 0.8698 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 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.mat","/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.716786020435393]