Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001935/0.001935, allocations: 88.72 kB / 19.44 MB, free: 356 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.002511/0.002511, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.448/1.448, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.175/3.175, allocations: 429.6 MB / 0.673 GB, free: 3.883 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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.979e-05, allocations: 2.859 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003/0.003029, allocations: 1.461 MB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008307/0.00386, allocations: 339.9 kB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.003889, allocations: 0 / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.003921, allocations: 3.938 kB / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-05/0.003967, allocations: 4.562 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.004478, allocations: 100.4 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.004546, allocations: 27.92 kB / 0.8795 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.004623, allocations: 7.422 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.00468, allocations: 11.98 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.004723, allocations: 15.92 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.004734, allocations: 0 / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.004989, allocations: 119.8 kB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.005005, allocations: 4 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.005048, allocations: 11.94 kB / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.005281, allocations: 111.7 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.005285, allocations: 0 / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.003e-06/0.005287, allocations: 0.5938 kB / 0.8798 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.005292, allocations: 0 / 0.8798 GB, free: 4.305 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.0005473/0.005839, allocations: 279.3 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.005874, allocations: 8.031 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.005915, allocations: 5.438 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.00605, allocations: 107.3 kB / 0.8801 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.006062, allocations: 384 / 0.8801 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.006075, allocations: 8.312 kB / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.006259, allocations: 54.23 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.006267, allocations: 192 / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.006275, allocations: 4.312 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.006279, allocations: 384 / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.006461, allocations: 39.89 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.006781, allocations: 192.5 kB / 0.8804 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.007048, allocations: 42.53 kB / 0.8805 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.007148, allocations: 24.91 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/0.007776, allocations: 91.91 kB / 0.8806 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.00781, allocations: 30.56 kB / 0.8806 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.007811, allocations: 4 kB / 0.8806 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003942/0.008205, allocations: 85.58 kB / 0.8807 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.008253, allocations: 51.41 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.008352, allocations: 101.8 kB / 0.8808 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.008371, allocations: 25.7 kB / 0.8809 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.008433, allocations: 88.14 kB / 0.8809 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.008449, allocations: 3.953 kB / 0.8809 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.008486, allocations: 13.84 kB / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.008664, allocations: 318.8 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.869e-05/0.008753, allocations: 15.97 kB / 0.8813 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-05/0.008832, allocations: 19.98 kB / 0.8813 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.009001, allocations: 32.83 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.009005, allocations: 4 kB / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002131/0.009218, allocations: 69.72 kB / 0.8814 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.009236, allocations: 11.94 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.009244, allocations: 3.938 kB / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.009261, allocations: 0 / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.009342, allocations: 8.172 kB / 0.8814 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.009346, allocations: 0 / 0.8814 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.009396, allocations: 7.984 kB / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.009403, allocations: 4 kB / 0.8814 GB, free: 2.41 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 9.565e-05/0.009499, allocations: 113.9 kB / 0.8815 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.009528, allocations: 7.938 kB / 0.8815 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.009773, allocations: 72.91 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.009775, allocations: 0 / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.009779, allocations: 0 / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.00979, allocations: 0 / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.009945, allocations: 105.3 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.009946, allocations: 3.938 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.425e-05/0.01001, allocations: 15.95 kB / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01001, allocations: 4 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.01002, allocations: 0 / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.01002, allocations: 3.938 kB / 0.8817 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01002, allocations: 0 / 0.8817 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.0103, allocations: 163.5 kB / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-06/0.01031, allocations: 0 / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.01032, allocations: 0 / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.01041, allocations: 11.92 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.01045, allocations: 4.031 kB / 0.8819 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.01045, allocations: 4 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.919e-05/0.01051, allocations: 83.28 kB / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01051, allocations: 0 / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003076/0.01082, allocations: 31.92 kB / 0.882 GB, free: 1.734 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.0002855/0.0111, allocations: 142 kB / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.01133, allocations: 43.89 kB / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01133, allocations: 0 / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-05/0.01142, allocations: 19.98 kB / 0.8822 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01166, allocations: 2.625 kB / 0.8822 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.01196, allocations: 112.6 kB / 0.8823 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.121e-05/0.01204, allocations: 59.34 kB / 0.8824 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.01206, allocations: 8 kB / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.01209, allocations: 8.5 kB / 0.8824 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/0.01209, allocations: 0 / 0.8824 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of Templates: time 0.003804/0.0159, allocations: 0.9291 MB / 0.8833 GB, free: 376 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.931094344006851]