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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 103.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 191.7 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002038/0.002038, allocations: 71.89 kB / 1.104 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7967/0.7987, allocations: 168.7 MB / 1.269 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001801/0.8005, allocations: 0.5826 MB / 1.269 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006606/0.8012, allocations: 292.9 kB / 1.27 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.8012, allocations: 4 kB / 1.27 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.8012, allocations: 0 / 1.27 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.8012, allocations: 0 / 1.27 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.8017, allocations: 99.66 kB / 1.27 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.946e-05/0.8017, allocations: 0 / 1.27 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.8018, allocations: 7.984 kB / 1.27 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.411e-05/0.8018, allocations: 0 / 1.27 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.048e-05/0.8018, allocations: 0 / 1.27 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.8018, allocations: 3.984 kB / 1.27 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.8021, allocations: 119.8 kB / 1.27 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.8021, allocations: 0 / 1.27 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.8021, allocations: 8 kB / 1.27 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.8023, allocations: 73.64 kB / 1.27 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8023, allocations: 0 / 1.27 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8023, allocations: 0 / 1.27 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.8023, allocations: 0 / 1.27 GB, free: 3.988 MB / 0.9669 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.0003588/0.8026, allocations: 327.4 kB / 1.27 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8027, allocations: 8.031 kB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.8027, allocations: 38.69 kB / 1.27 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.97e-05/0.8027, allocations: 0.9375 kB / 1.27 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.8029, allocations: 164.3 kB / 1.27 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.8029, allocations: 4.375 kB / 1.27 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.8029, allocations: 384 / 1.27 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.803, allocations: 34.25 kB / 1.27 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.803, allocations: 7.938 kB / 1.27 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.803, allocations: 0 / 1.27 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.803, allocations: 3.984 kB / 1.27 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.803, allocations: 0 / 1.27 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.8032, allocations: 141.7 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.323e-05/0.8032, allocations: 26.55 kB / 1.271 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.8033, allocations: 12.8 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008373/0.8041, allocations: 453.5 kB / 1.271 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.8041, allocations: 38.56 kB / 1.271 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.8041, allocations: 0 / 1.271 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.8043, allocations: 37.64 kB / 1.271 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.8044, allocations: 55.34 kB / 1.271 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.8044, allocations: 93.84 kB / 1.271 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.8044, allocations: 25.7 kB / 1.271 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.8045, allocations: 80.14 kB / 1.271 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.8045, allocations: 3.938 kB / 1.271 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.8046, allocations: 17.84 kB / 1.271 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.8047, allocations: 314.8 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.8047, allocations: 4 kB / 1.272 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.044e-05/0.8048, allocations: 4 kB / 1.272 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.8048, allocations: 4.859 kB / 1.272 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8048, allocations: 0 / 1.272 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.47e-05/0.8049, allocations: 41.62 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.8049, allocations: 4.094 kB / 1.272 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.8049, allocations: 7.938 kB / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.8049, allocations: 0 / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.805, allocations: 0 / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.805, allocations: 4 kB / 1.272 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/0.805, allocations: 0 / 1.272 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.805, allocations: 0 / 1.272 GB, free: 1.742 MB / 0.9669 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 0.0001004/0.8051, allocations: 105.8 kB / 1.272 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.8051, allocations: 4 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.8052, allocations: 48.69 kB / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.8052, allocations: 4 kB / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8052, allocations: 0 / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8052, allocations: 0 / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.8054, allocations: 141.7 kB / 1.272 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.8054, allocations: 0 / 1.272 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.8054, allocations: 11.92 kB / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.8054, allocations: 0 / 1.272 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.8054, allocations: 3.938 kB / 1.272 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8054, allocations: 0 / 1.272 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8054, allocations: 0 / 1.272 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.14e-05/0.8055, allocations: 57.17 kB / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.8055, allocations: 81.11 kB / 1.272 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.8055, allocations: 7.922 kB / 1.272 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-06/0.8056, allocations: 0 / 1.272 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.8056, allocations: 0 / 1.272 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.8056, allocations: 3.938 kB / 1.272 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.8056, allocations: 75.28 kB / 1.272 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8056, allocations: 4.031 kB / 1.272 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000251/0.8059, allocations: 27.94 kB / 1.272 GB, free: 1.074 MB / 0.9669 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.0005709/0.8064, allocations: 0.6363 MB / 1.273 GB, free: 416 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.786e-05/0.8065, allocations: 4 kB / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8065, allocations: 0 / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.501e-06/0.8065, allocations: 0 / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.8067, allocations: 4 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.807, allocations: 134.6 kB / 1.273 GB, free: 232 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.8073, allocations: 0.6728 MB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.8074, allocations: 7.984 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.8074, allocations: 7.438 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8074, allocations: 0 / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.8318, allocations: 1.401 MB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/9.026, allocations: 6.891 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.076202141586691]