Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.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.001879/0.001879, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.001981/0.001981, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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 2.865/2.865, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.187e-05, allocations: 2.969 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.004892/0.004924, allocations: 1.45 MB / 0.7878 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.006264, allocations: 342.2 kB / 0.7881 GB, free: 9.914 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.006296, allocations: 0 / 0.7881 GB, free: 9.914 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.006332, allocations: 5.562 kB / 0.7881 GB, free: 9.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.006396, allocations: 3.938 kB / 0.7881 GB, free: 9.906 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000802/0.007198, allocations: 107.6 kB / 0.7882 GB, free: 9.801 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.286e-05/0.007291, allocations: 29.14 kB / 0.7883 GB, free: 9.773 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.007378, allocations: 0 / 0.7883 GB, free: 9.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.007463, allocations: 15.92 kB / 0.7883 GB, free: 9.758 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.007519, allocations: 12.66 kB / 0.7883 GB, free: 9.746 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.00754, allocations: 4 kB / 0.7883 GB, free: 9.742 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.007988, allocations: 125.3 kB / 0.7884 GB, free: 9.621 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.008009, allocations: 4 kB / 0.7884 GB, free: 9.617 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.008039, allocations: 4 kB / 0.7884 GB, free: 9.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.008449, allocations: 115.7 kB / 0.7885 GB, free: 9.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.008452, allocations: 7.375 kB / 0.7885 GB, free: 9.496 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.008453, allocations: 0 / 0.7885 GB, free: 9.496 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.008458, allocations: 0 / 0.7885 GB, free: 9.496 MB / 0.698 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.0007736/0.009231, allocations: 372.1 kB / 0.7889 GB, free: 9.094 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.009287, allocations: 12.03 kB / 0.7889 GB, free: 9.082 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.009346, allocations: 4.891 kB / 0.7889 GB, free: 9.078 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.009753, allocations: 116.6 kB / 0.789 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.009771, allocations: 384 / 0.789 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.009783, allocations: 384 / 0.789 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.01002, allocations: 50.91 kB / 0.7891 GB, free: 8.883 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.01003, allocations: 192 / 0.7891 GB, free: 8.883 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.01004, allocations: 2.031 kB / 0.7891 GB, free: 8.883 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.01005, allocations: 384 / 0.7891 GB, free: 8.883 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.01026, allocations: 23.92 kB / 0.7891 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.0108, allocations: 251.8 kB / 0.7893 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.01099, allocations: 44.06 kB / 0.7894 GB, free: 8.523 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.01112, allocations: 20.61 kB / 0.7894 GB, free: 8.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009846/0.0121, allocations: 95.19 kB / 0.7895 GB, free: 8.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.01216, allocations: 37.39 kB / 0.7895 GB, free: 8.363 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.01216, allocations: 0 / 0.7895 GB, free: 8.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0004968/0.01266, allocations: 66.73 kB / 0.7896 GB, free: 8.293 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.01272, allocations: 52.88 kB / 0.7896 GB, free: 8.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.01293, allocations: 165.9 kB / 0.7898 GB, free: 8.051 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.01296, allocations: 25.7 kB / 0.7898 GB, free: 8.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.01309, allocations: 134.8 kB / 0.79 GB, free: 7.883 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.01312, allocations: 4.469 kB / 0.79 GB, free: 7.879 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.01319, allocations: 19.94 kB / 0.79 GB, free: 7.852 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004178/0.0136, allocations: 0.4884 MB / 0.7905 GB, free: 7.352 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.0137, allocations: 8.516 kB / 0.7905 GB, free: 7.344 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.493e-05/0.0138, allocations: 16.8 kB / 0.7905 GB, free: 7.328 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.01399, allocations: 28.55 kB / 0.7905 GB, free: 7.297 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01399, allocations: 0.5312 kB / 0.7905 GB, free: 7.297 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002937/0.01429, allocations: 59.02 kB / 0.7906 GB, free: 7.234 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.01431, allocations: 4 kB / 0.7906 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.01432, allocations: 7.875 kB / 0.7906 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.01434, allocations: 5.281 kB / 0.7906 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.01446, allocations: 7.938 kB / 0.7906 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.01447, allocations: 7.969 kB / 0.7906 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.01453, allocations: 0.6562 kB / 0.7906 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.01454, allocations: 4 kB / 0.7906 GB, free: 7.199 MB / 0.698 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 0.000171/0.01472, allocations: 153.3 kB / 0.7907 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.01477, allocations: 8.812 kB / 0.7908 GB, free: 7.031 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.01508, allocations: 61.86 kB / 0.7908 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01508, allocations: 0 / 0.7908 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01509, allocations: 0 / 0.7908 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01509, allocations: 1.219 kB / 0.7908 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.01536, allocations: 116.6 kB / 0.7909 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01536, allocations: 0 / 0.7909 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.01543, allocations: 8.875 kB / 0.7909 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01543, allocations: 192 / 0.7909 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.01544, allocations: 2.219 kB / 0.7909 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.01545, allocations: 7.938 kB / 0.7909 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01545, allocations: 3.938 kB / 0.7909 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.01579, allocations: 207.9 kB / 0.7911 GB, free: 6.574 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.01581, allocations: 3.953 kB / 0.7911 GB, free: 6.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.01583, allocations: 7.156 kB / 0.7912 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.01594, allocations: 3.938 kB / 0.7912 GB, free: 6.562 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.016, allocations: 7.984 kB / 0.7912 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.01601, allocations: 0 / 0.7912 GB, free: 6.555 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001101/0.01612, allocations: 123.2 kB / 0.7913 GB, free: 6.434 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01612, allocations: 0 / 0.7913 GB, free: 6.434 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005333/0.01665, allocations: 35.92 kB / 0.7913 GB, free: 6.398 MB / 0.698 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.0004172/0.01707, allocations: 142.8 kB / 0.7915 GB, free: 6.254 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.01733, allocations: 35.61 kB / 0.7915 GB, free: 6.215 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01733, allocations: 1.094 kB / 0.7915 GB, free: 6.215 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.01744, allocations: 23.67 kB / 0.7915 GB, free: 6.188 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.01787, allocations: 4.656 kB / 0.7915 GB, free: 6.184 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.01831, allocations: 112 kB / 0.7916 GB, free: 6.047 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.448e-05/0.0184, allocations: 63.16 kB / 0.7917 GB, free: 5.965 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.01843, allocations: 7.578 kB / 0.7917 GB, free: 5.961 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.01847, allocations: 12.5 kB / 0.7917 GB, free: 5.949 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/0.01847, allocations: 0 / 0.7917 GB, free: 5.949 MB / 0.698 GB Notification: Performance of Templates: time 0.005933/0.02441, allocations: 0.9376 MB / 0.7926 GB, free: 5.023 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.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: 7.790504236007109]