Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009505/0.0009505, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006496/0.006496, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.312 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.625/2.625, allocations: 437.8 MB / 0.7121 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004421, allocations: 8 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7137, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001603/0.7153, allocations: 1.16 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.7161, allocations: 379.7 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.7161, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.7161, allocations: 3.938 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.453e-05/0.7162, allocations: 4 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.7166, allocations: 79.78 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.321e-05/0.7166, allocations: 20 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.7167, allocations: 3.984 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.7168, allocations: 11.92 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.7168, allocations: 15.98 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.246e-06/0.7168, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.7171, allocations: 143.7 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.7171, allocations: 3.938 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.7171, allocations: 29.7 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.7173, allocations: 87.8 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7173, allocations: 0 / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7173, allocations: 0 / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7173, allocations: 0 / 1.025 GB, free: 13.85 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004262/0.7177, allocations: 365.4 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.7178, allocations: 12.03 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.7178, allocations: 0.9375 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.7179, allocations: 168.3 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.7179, allocations: 384 / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.718, allocations: 4.359 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.7181, allocations: 58.23 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.7182, allocations: 192 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.7182, allocations: 3.938 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7182, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.7183, allocations: 47.95 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.7187, allocations: 252.9 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.7188, allocations: 42.5 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.438e-05/0.7189, allocations: 40.83 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/0.7196, allocations: 473.4 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.7196, allocations: 38.5 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.7196, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000374/0.72, allocations: 101.7 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.7201, allocations: 51.41 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.7202, allocations: 101.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.7202, allocations: 25.7 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.7202, allocations: 84.14 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.7203, allocations: 3.906 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.7203, allocations: 9.719 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7204, allocations: 318.9 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.7205, allocations: 19.98 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.7206, allocations: 23.97 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.7208, allocations: 52.89 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7208, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.721, allocations: 85.53 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.721, allocations: 5.875 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.721, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.721, allocations: 4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.7211, allocations: 11.98 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.7211, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.7212, allocations: 4 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.7212, allocations: 4.031 kB / 1.027 GB, free: 11.17 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 (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 7.686e-05/0.7213, allocations: 118.3 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.7213, allocations: 3.906 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.7216, allocations: 88.72 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7216, allocations: 4.031 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7216, allocations: 0 / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7216, allocations: 0 / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.7217, allocations: 161.6 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7218, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.7218, allocations: 11.98 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7218, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.7218, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.7218, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7218, allocations: 3.938 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.7221, allocations: 179.5 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.7221, allocations: 77.11 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.7222, allocations: 8.016 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.7222, allocations: 8 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.7223, allocations: 7.922 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.7223, allocations: 192 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.7223, allocations: 87.27 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7223, allocations: 3.938 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000252/0.7226, allocations: 32 kB / 1.028 GB, free: 10.29 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 (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.0002548/0.7229, allocations: 131.2 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.7231, allocations: 51.95 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7231, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.609e-05/0.7232, allocations: 23.98 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.7234, allocations: 7.938 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.7237, allocations: 109 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.7239, allocations: 0.6808 MB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.724, allocations: 4 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.724, allocations: 7.438 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.724, allocations: 0 / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of Templates: time 0.003037/0.727, allocations: 0.8375 MB / 1.03 GB, free: 8.387 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches