Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 188.9 kB / 16.66 MB, free: 6.582 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.863/2.863, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3106, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.00199/0.3126, allocations: 0.5861 MB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.3134, allocations: 291.3 kB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.3134, allocations: 0 / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.3134, allocations: 4 kB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.3135, allocations: 0 / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.314, allocations: 95.72 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.3141, allocations: 4 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.3141, allocations: 4 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.539e-05/0.3142, allocations: 0 / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.575e-05/0.3142, allocations: 3.984 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.3142, allocations: 0 / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.3145, allocations: 119.8 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.3145, allocations: 3.938 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.3145, allocations: 4 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.3147, allocations: 67.84 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3148, allocations: 3.984 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3148, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.3148, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 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.0003289/0.3151, allocations: 327.4 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3152, allocations: 8.031 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.3152, allocations: 0.9375 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.628e-05/0.3153, allocations: 168.4 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3153, allocations: 384 / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3153, allocations: 4.375 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.3154, allocations: 30.2 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3155, allocations: 192 / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3155, allocations: 3.938 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3155, allocations: 4 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.919e-05/0.3155, allocations: 0 / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.3157, allocations: 149.7 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.638e-05/0.3158, allocations: 18.61 kB / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.3158, allocations: 8.859 kB / 1.168 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007508/0.3165, allocations: 453.5 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3166, allocations: 38.48 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3166, allocations: 8 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.3167, allocations: 37.59 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.3168, allocations: 55.34 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.076e-05/0.3168, allocations: 89.86 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3168, allocations: 29.7 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.3169, allocations: 84.12 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.3169, allocations: 0 / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.3169, allocations: 13.72 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.317, allocations: 315 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.3171, allocations: 7.922 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-06/0.3171, allocations: 0 / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.716e-05/0.3171, allocations: 12.8 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3171, allocations: 0 / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.64e-05/0.3172, allocations: 33.7 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3172, allocations: 8 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3172, allocations: 0 / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3172, allocations: 8.031 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.188e-05/0.3173, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3173, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.027e-05/0.3173, allocations: 4 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3173, allocations: 3.984 kB / 1.17 GB, free: 3.414 MB / 0.92 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.441e-05/0.3174, allocations: 105.8 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.3174, allocations: 0 / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.201e-05/0.3175, allocations: 44.7 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3175, allocations: 0 / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.3175, allocations: 12.03 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.3175, allocations: 0 / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.898e-05/0.3176, allocations: 145.7 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3176, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.3176, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3176, allocations: 4 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3177, allocations: 3.938 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3177, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3177, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.579e-05/0.3177, allocations: 65.06 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.3178, allocations: 81.09 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.3178, allocations: 7.938 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-06/0.3178, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.3178, allocations: 3.938 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3178, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.618e-05/0.3179, allocations: 75.28 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3179, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00023/0.3181, allocations: 27.92 kB / 1.17 GB, free: 2.746 MB / 0.92 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.0002572/0.3184, allocations: 135.2 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.716e-05/0.3185, allocations: 8 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3185, allocations: 0 / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.3185, allocations: 11.94 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.3186, allocations: 3.938 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.3188, allocations: 72.94 kB / 1.17 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.3191, allocations: 0.6729 MB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.207e-05/0.3191, allocations: 7.938 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.3191, allocations: 7.438 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/0.3191, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of Templates: time 0.002916/0.322, allocations: 0.6252 MB / 1.172 GB, free: 1.141 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches