Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001405/0.001405, allocations: 104.7 kB / 16.27 MB, free: 5.98 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.001451/0.001451, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.00204, allocations: 68.08 kB / 0.9088 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3277, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.00213/0.3298, allocations: 0.5854 MB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006807/0.3306, allocations: 294.9 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.348e-05/0.3306, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.3306, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.3307, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.3312, allocations: 95.72 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.045e-05/0.3313, allocations: 4 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.3313, allocations: 7.984 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.3313, allocations: 0 / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.005e-05/0.3314, allocations: 0 / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.3314, allocations: 0 / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.3317, allocations: 119.8 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.138e-06/0.3317, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.3317, allocations: 4 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.3319, allocations: 67.83 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3319, allocations: 3.938 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3319, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3319, allocations: 4 kB / 1.065 GB, free: 13.8 MB / 0.8419 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.0003578/0.3323, allocations: 331.6 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3323, allocations: 8.625 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.3324, allocations: 0.9375 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.679e-05/0.3325, allocations: 160.4 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3325, allocations: 4.375 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.3325, allocations: 384 / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.503e-05/0.3326, allocations: 26.27 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3326, allocations: 192 / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3326, allocations: 7.938 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3326, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.221e-05/0.3327, allocations: 7.938 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.3328, allocations: 149.7 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.247e-05/0.3329, allocations: 18.61 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.3329, allocations: 4.859 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007827/0.3337, allocations: 461.5 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3337, allocations: 30.56 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.3337, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001399/0.3339, allocations: 41.58 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3339, allocations: 51.53 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.045e-05/0.334, allocations: 97.86 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.334, allocations: 25.7 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.334, allocations: 80.14 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.334, allocations: 3.984 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.3341, allocations: 13.72 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.3342, allocations: 318.8 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.3342, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.3342, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.3342, allocations: 20.86 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3343, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.059e-05/0.3343, allocations: 29.7 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3343, allocations: 8 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3343, allocations: 7.938 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3344, allocations: 3.938 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.372e-05/0.3344, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3344, allocations: 3.984 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.3344, allocations: 3.984 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.3345, allocations: 8.031 kB / 1.067 GB, free: 11.6 MB / 0.8419 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.311e-05/0.3345, allocations: 105.8 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.3345, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.379e-05/0.3346, allocations: 48.61 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3346, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3346, allocations: 3.984 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3347, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.044e-05/0.3347, allocations: 145.7 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3348, allocations: 4.031 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.3348, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3348, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3348, allocations: 7.938 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3348, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3348, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.366e-05/0.3349, allocations: 57.12 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.3349, allocations: 77.11 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3349, allocations: 15.91 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-06/0.3349, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.335, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.335, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 2.601e-05/0.335, allocations: 75.28 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.335, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002275/0.3352, allocations: 27.98 kB / 1.068 GB, free: 10.94 MB / 0.8419 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.0002651/0.3355, allocations: 135.8 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.022e-05/0.3356, allocations: 4 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3356, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.929e-06/0.3356, allocations: 8 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.3357, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.336, allocations: 118.7 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.3362, allocations: 0.6806 MB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.3362, allocations: 7.438 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.3362, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of Templates: time 0.002189/0.3384, allocations: 0.7609 MB / 1.069 GB, free: 9.156 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches