Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001332/0.001332, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.87/2.87, allocations: 437.7 MB / 0.7117 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003653, allocations: 8 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8039, allocations: 153.8 MB / 1.022 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001138/0.8051, allocations: 321.3 kB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008552/0.806, allocations: 275.4 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.8061, allocations: 4 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.8061, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-06/0.8061, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.8069, allocations: 67.81 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.698e-05/0.8069, allocations: 7.984 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.807, allocations: 4 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.888e-05/0.807, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.8071, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.8071, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003797/0.8075, allocations: 135.7 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.176e-06/0.8075, allocations: 3.938 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.8075, allocations: 29.7 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.8077, allocations: 47.91 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.8077, allocations: 4 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.935e-06/0.8078, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.8078, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 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.0004692/0.8082, allocations: 319.4 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.8083, allocations: 16.56 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.8084, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.8085, allocations: 163.1 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.8085, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.8085, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.8087, allocations: 33.66 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8087, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.8087, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.8087, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.8087, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.8089, allocations: 161.7 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.597e-05/0.809, allocations: 18.52 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.809, allocations: 4.859 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008951/0.8099, allocations: 473.5 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.8099, allocations: 38.52 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 2.545e-06/0.81, allocations: 0 / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.8101, allocations: 37.62 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.8101, allocations: 55.34 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.543e-05/0.8102, allocations: 93.98 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.8102, allocations: 29.7 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.8102, allocations: 80.14 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.8103, allocations: 3.906 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.8103, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8104, allocations: 314.8 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.8104, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.8104, allocations: 3.938 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.562e-05/0.8105, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8105, allocations: 8.062 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.895e-05/0.8105, allocations: 33.69 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.8106, allocations: 4.781 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.8106, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8106, allocations: 3.953 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.842e-05/0.8107, allocations: 4 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.8107, allocations: 3.938 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.8107, allocations: 4 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.8107, allocations: 0 / 1.025 GB, free: 13.03 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.939e-05/0.8108, allocations: 109.9 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-06/0.8108, allocations: 4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.203e-05/0.8109, allocations: 36.81 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8109, allocations: 3.953 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8109, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8109, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.8111, allocations: 145.7 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8111, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.8111, allocations: 4 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.8111, allocations: 3.984 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.8111, allocations: 8.016 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.8111, allocations: 0 / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.8112, allocations: 3.953 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.617e-05/0.8113, allocations: 57.08 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.8113, allocations: 77.11 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.8113, allocations: 3.984 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.08e-05/0.8113, allocations: 4 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.8114, allocations: 4.031 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.8114, allocations: 3.953 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.8114, allocations: 79.28 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8114, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003457/0.8118, allocations: 24 kB / 1.026 GB, free: 12.36 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000331/0.8121, allocations: 143.2 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.8122, allocations: 7.875 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8122, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.304e-06/0.8122, allocations: 3.984 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.8124, allocations: 6.25 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.8127, allocations: 85.55 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.8131, allocations: 0.6692 MB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.8131, allocations: 11.98 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.8132, allocations: 7.438 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.8132, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of Templates: time 0.002952/0.8161, allocations: 0.6478 MB / 1.027 GB, free: 10.73 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches