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.002346/0.002346, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 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.002884/0.002884, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.383/3.383, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 7.855e-06/7.855e-06, allocations: 4 kB / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/3.575e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003161/0.003196, allocations: 1.475 MB / 0.8789 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.00406, allocations: 327.1 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.004091, allocations: 0 / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.004121, allocations: 5 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.02e-05/0.004171, allocations: 0 / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.004716, allocations: 104.7 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.574e-05/0.004792, allocations: 23.92 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.004867, allocations: 4 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.004946, allocations: 12.98 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.00498, allocations: 4 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.004993, allocations: 4 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.005263, allocations: 129.1 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.005278, allocations: 0 / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.0053, allocations: 4 kB / 0.8795 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.005544, allocations: 107.7 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005546, allocations: 1.188 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005547, allocations: 0 / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.005552, allocations: 0 / 0.8796 GB, free: 4.496 MB / 0.8386 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.0005449/0.006096, allocations: 381.1 kB / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.006134, allocations: 8.031 kB / 0.88 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.006178, allocations: 6.281 kB / 0.88 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.006298, allocations: 108.6 kB / 0.8801 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.00631, allocations: 384 / 0.8801 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.006325, allocations: 4.375 kB / 0.8801 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.006472, allocations: 43.78 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.006481, allocations: 192 / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.006489, allocations: 384 / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.006493, allocations: 384 / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.006619, allocations: 41.11 kB / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.007002, allocations: 247.8 kB / 0.8804 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.00712, allocations: 40.02 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.007187, allocations: 23.19 kB / 0.8804 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005121/0.007699, allocations: 83.91 kB / 0.8805 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.007741, allocations: 33.39 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.007741, allocations: 3.938 kB / 0.8806 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003148/0.008056, allocations: 70.27 kB / 0.8806 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.008102, allocations: 59.41 kB / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.008235, allocations: 157.9 kB / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.008258, allocations: 29.7 kB / 0.8809 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.008343, allocations: 130.8 kB / 0.881 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.008364, allocations: 7.938 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.00841, allocations: 23.38 kB / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002695/0.00868, allocations: 496.1 kB / 0.8815 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.008754, allocations: 7.984 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.707e-05/0.008801, allocations: 12 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.008905, allocations: 35.67 kB / 0.8815 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008907, allocations: 0 / 0.8815 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001552/0.009062, allocations: 57.67 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.009078, allocations: 4 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.009085, allocations: 3.938 kB / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.009102, allocations: 4 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.009167, allocations: 4 kB / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.009172, allocations: 0 / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.0092, allocations: 4.031 kB / 0.8816 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.009213, allocations: 8 kB / 0.8816 GB, free: 2.203 MB / 0.8386 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.0001142/0.009327, allocations: 160.6 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.009358, allocations: 7.953 kB / 0.8818 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.009541, allocations: 64.86 kB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.009543, allocations: 0 / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.009546, allocations: 0 / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009548, allocations: 0 / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.009721, allocations: 112.6 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.009722, allocations: 4.031 kB / 0.882 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.009769, allocations: 11.98 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.009772, allocations: 0 / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.009779, allocations: 0 / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.009783, allocations: 3.938 kB / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.009784, allocations: 0 / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.01004, allocations: 207.9 kB / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-06/0.01004, allocations: 0 / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.01006, allocations: 7.938 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.01012, allocations: 3.969 kB / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.01016, allocations: 8 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.01016, allocations: 0 / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.104e-05/0.01024, allocations: 131.2 kB / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01024, allocations: 0 / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002608/0.01051, allocations: 27.94 kB / 0.8823 GB, free: 1.395 MB / 0.8386 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.0002929/0.0108, allocations: 135.1 kB / 0.8825 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.01098, allocations: 39.66 kB / 0.8825 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01098, allocations: 0 / 0.8825 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/0.01105, allocations: 23.62 kB / 0.8825 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01129, allocations: 6.344 kB / 0.8825 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.01163, allocations: 114.4 kB / 0.8826 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.51e-05/0.0117, allocations: 67.33 kB / 0.8827 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.01172, allocations: 0 / 0.8827 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.01175, allocations: 8.5 kB / 0.8827 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.01175, allocations: 0 / 0.8827 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of Templates: time 0.004149/0.0159, allocations: 0.92 MB / 0.8836 GB, free: 28 kB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 240] 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: 8.442086498020217]