Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001717/0.001717, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002294/0.002294, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.474/1.474, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.82/2.82, allocations: 377.8 MB / 0.6221 GB, free: 12.59 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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.526e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001552/0.001578, allocations: 0.5942 MB / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.002245, allocations: 275 kB / 0.9823 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.424e-05/0.002259, allocations: 0 / 0.9823 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.002271, allocations: 0 / 0.9823 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.289e-06/0.002276, allocations: 0 / 0.9823 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.00274, allocations: 103.6 kB / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.612e-05/0.002776, allocations: 4 kB / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.002808, allocations: 0 / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.002829, allocations: 0 / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.964e-05/0.002848, allocations: 4 kB / 0.9824 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.002857, allocations: 0 / 0.9824 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.003201, allocations: 127.7 kB / 0.9825 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.003211, allocations: 0 / 0.9825 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.003228, allocations: 8 kB / 0.9826 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.003463, allocations: 95.72 kB / 0.9826 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.003466, allocations: 0 / 0.9826 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003468, allocations: 0 / 0.9826 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003471, allocations: 0 / 0.9826 GB, free: 10.7 MB / 0.9356 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.0004009/0.003872, allocations: 254.3 kB / 0.9829 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.003907, allocations: 12.03 kB / 0.9829 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.003939, allocations: 8.891 kB / 0.9829 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.825e-05/0.004027, allocations: 105.8 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.004037, allocations: 384 / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.004045, allocations: 4.359 kB / 0.983 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.881e-05/0.004124, allocations: 30.27 kB / 0.983 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.00413, allocations: 192 / 0.983 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.004137, allocations: 384 / 0.983 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.00414, allocations: 384 / 0.983 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.004159, allocations: 3.938 kB / 0.983 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.004283, allocations: 101.3 kB / 0.9831 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.004326, allocations: 22.52 kB / 0.9832 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.004345, allocations: 8.953 kB / 0.9832 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/0.004964, allocations: 83.91 kB / 0.9833 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.004996, allocations: 38.55 kB / 0.9833 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.004997, allocations: 4 kB / 0.9833 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.005115, allocations: 37.64 kB / 0.9833 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.005162, allocations: 55.34 kB / 0.9834 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.005212, allocations: 89.86 kB / 0.9835 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.005229, allocations: 29.7 kB / 0.9835 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.00527, allocations: 80.14 kB / 0.9836 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.005291, allocations: 0 / 0.9836 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.005321, allocations: 13.72 kB / 0.9836 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.005473, allocations: 314.8 kB / 0.9839 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-06/0.005481, allocations: 128 / 0.9839 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.00549, allocations: 11.98 kB / 0.9839 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.005512, allocations: 4.859 kB / 0.9839 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.005513, allocations: 0 / 0.9839 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.262e-05/0.005576, allocations: 41.64 kB / 0.9839 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.005589, allocations: 4 kB / 0.9839 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.005592, allocations: 0 / 0.9839 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.005604, allocations: 0 / 0.9839 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.769e-05/0.005641, allocations: 4 kB / 0.9839 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.005645, allocations: 0 / 0.9839 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.005656, allocations: 11.97 kB / 0.984 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.00566, allocations: 0 / 0.984 GB, free: 9.172 MB / 0.9356 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 8.344e-05/0.005744, allocations: 109.8 kB / 0.9841 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.005752, allocations: 4 kB / 0.9841 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.676e-05/0.005829, allocations: 36.7 kB / 0.9841 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.00583, allocations: 0 / 0.9841 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.005834, allocations: 0 / 0.9841 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.005836, allocations: 0 / 0.9841 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.76e-05/0.005924, allocations: 101.2 kB / 0.9842 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005924, allocations: 0 / 0.9842 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.005941, allocations: 11.97 kB / 0.9842 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005943, allocations: 0 / 0.9842 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.005948, allocations: 0 / 0.9842 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.005949, allocations: 0 / 0.9842 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.005949, allocations: 0 / 0.9842 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.838e-05/0.006028, allocations: 61.06 kB / 0.9843 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-06/0.006031, allocations: 0 / 0.9843 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.006042, allocations: 4 kB / 0.9843 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.006049, allocations: 4 kB / 0.9843 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-06/0.006058, allocations: 3.938 kB / 0.9843 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.006062, allocations: 4.031 kB / 0.9843 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.006095, allocations: 79.28 kB / 0.9844 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.006096, allocations: 0 / 0.9844 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002398/0.006335, allocations: 27.88 kB / 0.9844 GB, free: 8.672 MB / 0.9356 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.0002762/0.006612, allocations: 147.1 kB / 0.9845 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.228e-05/0.006674, allocations: 7.938 kB / 0.9845 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006675, allocations: 0 / 0.9845 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.7e-06/0.006681, allocations: 0 / 0.9845 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.006804, allocations: 6.344 kB / 0.9845 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001905/0.006995, allocations: 73.02 kB / 0.9846 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.333e-05/0.007048, allocations: 67.19 kB / 0.9847 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.656e-06/0.007057, allocations: 0 / 0.9847 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.007071, allocations: 8.625 kB / 0.9847 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.007072, allocations: 4 kB / 0.9847 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of Templates: time 0.003216/0.01029, allocations: 0.6601 MB / 0.9853 GB, free: 7.652 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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.830203652381897]