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.000844/0.000844, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000794/0.000794, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8814/0.8814, allocations: 177.1 MB / 203.5 MB, free: 5.402 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.733/1.733, allocations: 389.1 MB / 0.6338 GB, free: 12.68 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: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 4 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.938e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001865/0.001894, allocations: 1.444 MB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005141/0.002409, allocations: 319.5 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.002438, allocations: 3.938 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.002465, allocations: 4 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.087e-05/0.002505, allocations: 3.938 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.002896, allocations: 107.6 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.002962, allocations: 27.86 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.003051, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.949e-05/0.0031, allocations: 11.98 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.003135, allocations: 8 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.003147, allocations: 4 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.003311, allocations: 119.7 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.003326, allocations: 4 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.003345, allocations: 8 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.003524, allocations: 103.8 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.003527, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.232e-06/0.003528, allocations: 3.938 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003532, allocations: 0 / 1.003 GB, free: 10.82 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.00038/0.003912, allocations: 278.2 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.003951, allocations: 8.75 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.003981, allocations: 4.938 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.483e-05/0.004066, allocations: 117.7 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.004079, allocations: 384 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.004088, allocations: 8.375 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.004222, allocations: 46.25 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.00423, allocations: 192 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.004241, allocations: 4.359 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.004246, allocations: 384 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.004339, allocations: 31.91 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.004611, allocations: 200.6 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.852e-05/0.0047, allocations: 42.5 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.004747, allocations: 16.91 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/0.005117, allocations: 79.91 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.005142, allocations: 34.56 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.005143, allocations: 4 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002446/0.005387, allocations: 85.53 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.005419, allocations: 59.34 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.588e-05/0.005475, allocations: 97.86 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.005486, allocations: 25.7 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.005522, allocations: 80.14 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.005543, allocations: 11.94 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.005648, allocations: 17.78 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.005727, allocations: 314.8 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.005772, allocations: 15.98 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-05/0.005811, allocations: 19.97 kB / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.005887, allocations: 36.83 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005889, allocations: 0 / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001077/0.005997, allocations: 73.66 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.00601, allocations: 4 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.006017, allocations: 3.938 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.00603, allocations: 3.938 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.006088, allocations: 8 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.006094, allocations: 3.984 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.006117, allocations: 7.938 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.006122, allocations: 0 / 1.005 GB, free: 8.93 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.412e-05/0.006176, allocations: 113.9 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.006189, allocations: 4 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.00633, allocations: 76.89 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.006332, allocations: 0 / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.006336, allocations: 0 / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006339, allocations: 4 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.436e-05/0.006424, allocations: 101.3 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.006427, allocations: 3.984 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.006452, allocations: 11.97 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.006454, allocations: 0 / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.006461, allocations: 0 / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.006463, allocations: 11.92 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006464, allocations: 0 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.006589, allocations: 159.7 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.006596, allocations: 3.984 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.006607, allocations: 3.984 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.006644, allocations: 15.97 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.00668, allocations: 7.984 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.006683, allocations: 0 / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.693e-05/0.00671, allocations: 83.28 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00671, allocations: 0 / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001865/0.006896, allocations: 27.94 kB / 1.005 GB, free: 8.246 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.0002006/0.007097, allocations: 139.2 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.007232, allocations: 39.89 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.007233, allocations: 0 / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.017e-05/0.007273, allocations: 19.98 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.007452, allocations: 6.094 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.0077, allocations: 134.6 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.007743, allocations: 63.28 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.007764, allocations: 12.5 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.007765, allocations: 0 / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of Templates: time 0.001911/0.009676, allocations: 0.9913 MB / 1.007 GB, free: 6.789 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/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: 6.631762375123799]