Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007478/0.007478, allocations: 98.97 kB / 15.73 MB, free: 6.004 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.001582/0.001582, allocations: 192.7 kB / 16.67 MB, free: 5.93 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.468/2.468, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.34 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3727, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002675/0.3754, allocations: 1.424 MB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007401/0.3762, allocations: 348 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.3762, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.3763, allocations: 3.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.3763, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.3768, allocations: 95.72 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.668e-05/0.3769, allocations: 23.92 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.377, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.377, allocations: 19.92 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.3771, allocations: 15.97 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3771, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.3773, allocations: 119.8 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.3774, allocations: 7.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.3774, allocations: 3.984 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.3776, allocations: 83.75 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3776, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3776, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3776, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 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.0005115/0.3781, allocations: 359.2 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3782, allocations: 12.03 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.3782, allocations: 0.9375 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3784, allocations: 160.4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3784, allocations: 8.375 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3784, allocations: 384 / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.3786, allocations: 54.17 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3786, allocations: 4.125 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3786, allocations: 7.938 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3786, allocations: 3.984 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.3788, allocations: 35.95 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.3791, allocations: 241 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3793, allocations: 46.42 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.259e-05/0.3794, allocations: 20.91 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007627/0.3801, allocations: 461.5 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3802, allocations: 34.56 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3802, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003571/0.3806, allocations: 81.61 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.3806, allocations: 55.39 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.3807, allocations: 97.86 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3807, allocations: 25.7 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.3808, allocations: 88.2 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.3808, allocations: 13.31 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.3808, allocations: 21.64 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3809, allocations: 314.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.381, allocations: 15.98 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.3811, allocations: 11.98 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3813, allocations: 44.88 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3813, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001855/0.3815, allocations: 65.61 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3815, allocations: 7.984 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3815, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3815, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.3816, allocations: 11.94 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3816, allocations: 8.016 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.3817, allocations: 11.98 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.3817, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 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 6.911e-05/0.3818, allocations: 109.8 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.3818, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.382, allocations: 72.77 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3821, allocations: 4.031 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3821, allocations: 0 / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3821, allocations: 0 / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3822, allocations: 165.5 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3822, allocations: 4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.3823, allocations: 11.98 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3823, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.3823, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3823, allocations: 3.938 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3823, allocations: 4 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.3826, allocations: 159.5 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.3827, allocations: 85.11 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3827, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.3828, allocations: 7.984 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.3828, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.3828, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.3828, allocations: 87.3 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3828, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002577/0.3831, allocations: 27.94 kB / 1.093 GB, free: 11.91 MB / 0.8575 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.000264/0.3834, allocations: 143.1 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3836, allocations: 43.89 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3836, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.3837, allocations: 15.98 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.3839, allocations: 11.88 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.3842, allocations: 113.7 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.3845, allocations: 0.6768 MB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.051e-05/0.3845, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.3845, allocations: 11.44 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3845, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.003331/0.3879, allocations: 0.8837 MB / 1.095 GB, free: 9.965 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches