Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001489, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.49/2.49, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9696/0.9709, allocations: 151.6 MB / 1.167 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002681/0.9736, allocations: 1.433 MB / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007138/0.9743, allocations: 350.1 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.9744, allocations: 0 / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.9744, allocations: 3.938 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.9745, allocations: 3.938 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.975, allocations: 103.7 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.558e-05/0.9751, allocations: 23.92 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.9752, allocations: 4 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.9753, allocations: 8 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.9753, allocations: 15.91 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.9753, allocations: 4 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.9756, allocations: 115.8 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.9756, allocations: 3.984 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.9756, allocations: 15.92 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.9758, allocations: 87.75 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.9758, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9758, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.9758, allocations: 0 / 1.169 GB, free: 1.758 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004887/0.9763, allocations: 359.3 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.9764, allocations: 8.922 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.9764, allocations: 8.938 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.9765, allocations: 164.4 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.9766, allocations: 384 / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.9766, allocations: 8.375 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.9768, allocations: 42.23 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.9768, allocations: 192 / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.9768, allocations: 15.94 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.9768, allocations: 0 / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.977, allocations: 35.84 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.9773, allocations: 245 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.9774, allocations: 38.5 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.9775, allocations: 24.91 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/0.9782, allocations: 457.5 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.9783, allocations: 30.56 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.9783, allocations: 4 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003502/0.9786, allocations: 89.48 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.9787, allocations: 51.41 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.9788, allocations: 105.8 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.9788, allocations: 25.7 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.9788, allocations: 80.14 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.9789, allocations: 11.97 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.9789, allocations: 17.72 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.979, allocations: 310.8 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/0.9791, allocations: 15.97 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.9792, allocations: 19.98 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.9793, allocations: 40.83 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9793, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.9795, allocations: 69.59 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9796, allocations: 4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.9796, allocations: 4 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9796, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.9797, allocations: 7.984 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.9797, allocations: 4.031 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.9798, allocations: 4.188 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.9798, allocations: 3.984 kB / 1.172 GB, free: 15.18 MB / 0.9044 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 8.884e-05/0.9799, allocations: 117.8 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.9799, allocations: 3.984 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.9801, allocations: 76.72 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.9801, allocations: 4.031 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9801, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.9801, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.9803, allocations: 161.6 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9803, allocations: 0 / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.9804, allocations: 8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9804, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.9804, allocations: 4 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9804, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9804, allocations: 3.984 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.9806, allocations: 167.3 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.9807, allocations: 82.92 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.9807, allocations: 3.938 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.9808, allocations: 8 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.9808, allocations: 7.984 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.9808, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.9809, allocations: 83.31 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.964e-06/0.9809, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002614/0.9812, allocations: 35.94 kB / 1.172 GB, free: 14.33 MB / 0.9044 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.0002289/0.9814, allocations: 139.2 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.9816, allocations: 35.95 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9816, allocations: 0 / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.937e-05/0.9817, allocations: 19.92 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.9819, allocations: 14.75 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.9822, allocations: 127.3 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.9825, allocations: 0.6768 MB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.9825, allocations: 11.44 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9825, allocations: 0 / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.002577/0.9851, allocations: 0.982 MB / 1.174 GB, free: 12.26 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches