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.001194/0.001194, allocations: 91.84 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.01012/0.01012, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 11.53 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3319, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.000706/0.3326, allocations: 318.9 kB / 1.059 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007784/0.3334, allocations: 311 kB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.244e-05/0.3334, allocations: 0 / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.3335, allocations: 3.938 kB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.02e-06/0.3335, allocations: 0 / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.3339, allocations: 71.81 kB / 1.059 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.002e-05/0.334, allocations: 8 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.334, allocations: 0 / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.334, allocations: 3.984 kB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.384e-05/0.3341, allocations: 0 / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.3341, allocations: 0 / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.3343, allocations: 123.8 kB / 1.059 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.3344, allocations: 4 kB / 1.059 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.3344, allocations: 29.69 kB / 1.06 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.3346, allocations: 79.83 kB / 1.06 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3346, allocations: 0 / 1.06 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3346, allocations: 0 / 1.06 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3346, allocations: 0 / 1.06 GB, free: 4.512 MB / 0.8106 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.0003068/0.3349, allocations: 328.7 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.335, allocations: 11.97 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.335, allocations: 0.9375 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.082e-05/0.3351, allocations: 160.4 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3351, allocations: 384 / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.3351, allocations: 4.359 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.527e-05/0.3352, allocations: 38.25 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3352, allocations: 192 / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.3353, allocations: 3.938 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3353, allocations: 3.938 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.3353, allocations: 4 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.3355, allocations: 145.7 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.3355, allocations: 14.58 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.3356, allocations: 12.95 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009347/0.3365, allocations: 461.5 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.3366, allocations: 30.56 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/0.3366, allocations: 0 / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001821/0.3368, allocations: 49.56 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3368, allocations: 55.41 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.391e-05/0.3369, allocations: 89.86 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.3369, allocations: 25.7 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.3369, allocations: 84.08 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.337, allocations: 0 / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.337, allocations: 9.719 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3372, allocations: 314.8 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.3372, allocations: 4.125 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.3372, allocations: 0 / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.3372, allocations: 12.8 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3372, allocations: 0 / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.552e-05/0.3373, allocations: 37.69 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3373, allocations: 4 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3373, allocations: 0 / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3374, allocations: 7.938 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.3374, allocations: 96 / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3374, allocations: 4 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.3375, allocations: 0 / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3375, allocations: 0 / 1.061 GB, free: 2.316 MB / 0.8106 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 0.0001012/0.3376, allocations: 113.8 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.3376, allocations: 0 / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.3377, allocations: 52.69 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3377, allocations: 0 / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3377, allocations: 0 / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3377, allocations: 4.031 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.3379, allocations: 141.7 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3379, allocations: 4 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.3379, allocations: 3.984 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3379, allocations: 0 / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.3379, allocations: 3.938 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3379, allocations: 0 / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3379, allocations: 0 / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.866e-05/0.338, allocations: 61.14 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.3381, allocations: 85.03 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3381, allocations: 3.938 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-06/0.3381, allocations: 0 / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.3381, allocations: 4 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.3381, allocations: 0 / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.222e-05/0.3382, allocations: 75.28 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3382, allocations: 0 / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002261/0.3384, allocations: 24 kB / 1.062 GB, free: 1.652 MB / 0.8106 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.0002925/0.3387, allocations: 139.2 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.148e-05/0.3388, allocations: 4 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3388, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-06/0.3388, allocations: 8.047 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.3389, allocations: 11.94 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001935/0.3391, allocations: 82.55 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3394, allocations: 0.6692 MB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.313e-05/0.3394, allocations: 0 / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.3394, allocations: 7.438 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3394, allocations: 0 / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of Templates: time 0.00304/0.3425, allocations: 0.6213 MB / 1.063 GB, free: 48 kB / 0.8106 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/jenkins/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