Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001926/0.001926, allocations: 78.81 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002351/0.002351, allocations: 162.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.579/1.579, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.974/2.974, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.102e-05/4.271e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001574/0.001617, allocations: 0.591 MB / 0.9821 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006187/0.002236, allocations: 251.1 kB / 0.9823 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.118e-05/0.002247, allocations: 0 / 0.9823 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.002258, allocations: 4 kB / 0.9823 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-06/0.002265, allocations: 0 / 0.9823 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.002741, allocations: 99.66 kB / 0.9824 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.539e-05/0.002777, allocations: 3.938 kB / 0.9824 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.002811, allocations: 3.984 kB / 0.9824 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.00284, allocations: 7.922 kB / 0.9824 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.002861, allocations: 0 / 0.9824 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.00287, allocations: 4 kB / 0.9824 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.003121, allocations: 111.8 kB / 0.9825 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.003131, allocations: 0 / 0.9825 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.003143, allocations: 0 / 0.9825 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.003338, allocations: 91.73 kB / 0.9826 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.00334, allocations: 7.938 kB / 0.9826 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.41e-07/0.00334, allocations: 0 / 0.9826 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.003344, allocations: 0 / 0.9826 GB, free: 9.688 MB / 0.8887 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.0003176/0.003662, allocations: 250.3 kB / 0.9829 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.003701, allocations: 12.03 kB / 0.9829 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.003735, allocations: 0.9375 kB / 0.9829 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.003822, allocations: 105.8 kB / 0.983 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.003833, allocations: 384 / 0.983 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.00384, allocations: 384 / 0.983 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.003948, allocations: 34.27 kB / 0.983 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.003958, allocations: 4.172 kB / 0.983 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.003965, allocations: 4.375 kB / 0.983 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.00397, allocations: 384 / 0.983 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.003993, allocations: 7.938 kB / 0.983 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.004123, allocations: 101.3 kB / 0.9831 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.294e-05/0.004166, allocations: 14.58 kB / 0.9831 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.004182, allocations: 8.953 kB / 0.9831 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/0.004759, allocations: 79.91 kB / 0.9832 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.00479, allocations: 30.56 kB / 0.9832 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.004791, allocations: 0 / 0.9832 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.004927, allocations: 37.64 kB / 0.9833 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.00498, allocations: 51.41 kB / 0.9833 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.005041, allocations: 93.86 kB / 0.9834 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.00506, allocations: 25.7 kB / 0.9834 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.005097, allocations: 84.12 kB / 0.9835 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.005127, allocations: 7.891 kB / 0.9835 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.005169, allocations: 17.84 kB / 0.9835 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.005336, allocations: 314.8 kB / 0.9838 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.005345, allocations: 0 / 0.9838 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-06/0.005353, allocations: 4 kB / 0.9838 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.005377, allocations: 4.859 kB / 0.9839 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005378, allocations: 0 / 0.9839 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.351e-05/0.005442, allocations: 41.64 kB / 0.9839 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.005457, allocations: 11.92 kB / 0.9839 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.005463, allocations: 7.938 kB / 0.9839 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.005476, allocations: 4.094 kB / 0.9839 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.957e-05/0.005516, allocations: 4 kB / 0.9839 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.00552, allocations: 0 / 0.9839 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.005532, allocations: 3.938 kB / 0.9839 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.005537, allocations: 0 / 0.9839 GB, free: 8.172 MB / 0.8887 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 7.422e-05/0.005611, allocations: 105.8 kB / 0.984 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.005617, allocations: 0 / 0.984 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.344e-05/0.005701, allocations: 44.69 kB / 0.9841 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005702, allocations: 0 / 0.9841 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.005706, allocations: 0 / 0.9841 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005708, allocations: 4.031 kB / 0.9841 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.707e-05/0.005785, allocations: 97.27 kB / 0.9842 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005786, allocations: 3.938 kB / 0.9842 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.005799, allocations: 4 kB / 0.9842 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.005801, allocations: 0 / 0.9842 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.005805, allocations: 0 / 0.9842 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005806, allocations: 0 / 0.9842 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005807, allocations: 0 / 0.9842 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.585e-05/0.005893, allocations: 61.06 kB / 0.9842 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-06/0.005899, allocations: 4 kB / 0.9842 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.435e-06/0.005907, allocations: 32 / 0.9842 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.005916, allocations: 8 kB / 0.9842 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-06/0.005926, allocations: 0 / 0.9842 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.005929, allocations: 3.984 kB / 0.9842 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.416e-05/0.005964, allocations: 75.28 kB / 0.9843 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.005964, allocations: 0 / 0.9843 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002157/0.006179, allocations: 23.94 kB / 0.9843 GB, free: 7.68 MB / 0.8887 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.0002725/0.006452, allocations: 147.1 kB / 0.9845 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.41e-05/0.006516, allocations: 7.938 kB / 0.9845 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006518, allocations: 0 / 0.9845 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/0.006523, allocations: 0 / 0.9845 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.006649, allocations: 1.875 kB / 0.9845 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001903/0.006839, allocations: 88.84 kB / 0.9846 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.579e-05/0.006905, allocations: 63.42 kB / 0.9846 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 8.666e-06/0.006913, allocations: 0 / 0.9846 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.006928, allocations: 8.5 kB / 0.9846 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of SimCode: time 3.91e-07/0.006928, allocations: 0 / 0.9846 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of Templates: time 0.003033/0.009961, allocations: 0.6484 MB / 0.9853 GB, free: 6.664 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.210932709276676]