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.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.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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001768/0.001768, allocations: 195.5 kB / 16.14 MB, free: 6.719 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.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.546/2.546, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7047, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001856/0.7066, allocations: 0.6548 MB / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006715/0.7073, allocations: 315 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.316e-05/0.7073, allocations: 4 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.7073, allocations: 3.938 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.7073, allocations: 0 / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.7078, allocations: 75.86 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.475e-05/0.7078, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.7079, allocations: 7.938 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.7079, allocations: 3.984 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.171e-05/0.7079, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.393e-06/0.7079, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.7082, allocations: 139.7 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.7082, allocations: 4 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.7082, allocations: 0 / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.7084, allocations: 79.77 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7084, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.12e-07/0.7084, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.7084, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.7637 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.0003625/0.7088, allocations: 331.6 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.7089, allocations: 8.031 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.7089, allocations: 0.9375 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.467e-05/0.709, allocations: 164.4 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.709, allocations: 4.312 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.709, allocations: 384 / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.744e-05/0.7091, allocations: 34.25 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.7091, allocations: 192 / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.7091, allocations: 3.938 kB / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.7092, allocations: 0 / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.7092, allocations: 4 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.7093, allocations: 145.7 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.586e-05/0.7093, allocations: 22.52 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.7094, allocations: 8.953 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008259/0.7102, allocations: 477.4 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.7102, allocations: 30.56 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7102, allocations: 0 / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001509/0.7104, allocations: 41.64 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.7104, allocations: 51.41 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.81e-05/0.7105, allocations: 89.86 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.7105, allocations: 25.7 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.7105, allocations: 84.27 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.7106, allocations: 7.891 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.7106, allocations: 13.72 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7107, allocations: 310.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.7107, allocations: 3.938 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-06/0.7107, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.7108, allocations: 12.86 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7108, allocations: 64 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.69e-05/0.7108, allocations: 37.64 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7108, allocations: 9.562 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.7108, allocations: 7.922 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.7109, allocations: 3.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.952e-05/0.7109, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.7109, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.7109, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.7109, allocations: 7.938 kB / 1.02 GB, free: 15.28 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/0.711, allocations: 110.4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.711, allocations: 3.984 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.7111, allocations: 44.75 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7111, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7111, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7111, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.66e-05/0.7112, allocations: 145.7 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.7112, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.7113, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.7113, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.7113, allocations: 7.969 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7113, allocations: 7.984 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.7113, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.021e-05/0.7114, allocations: 57.08 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.7114, allocations: 77.11 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.7114, allocations: 3.938 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.7114, allocations: 4 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.7114, allocations: 4.016 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.7114, allocations: 4 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.7115, allocations: 75.28 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7115, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002146/0.7117, allocations: 24 kB / 1.02 GB, free: 14.62 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 (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.0002543/0.712, allocations: 135.2 kB / 1.02 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.928e-05/0.712, allocations: 8 kB / 1.02 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.712, allocations: 0 / 1.02 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.246e-06/0.712, allocations: 7.938 kB / 1.02 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.7122, allocations: 7.922 kB / 1.02 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001481/0.7123, allocations: 66.77 kB / 1.02 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.7126, allocations: 0.681 MB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.115e-05/0.7126, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.7126, allocations: 7.438 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.7126, allocations: 0 / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of Templates: time 0.002563/0.7152, allocations: 0.6562 MB / 1.022 GB, free: 12.99 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