Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_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.006228/0.006228, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001111/0.001112, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.518/2.518, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 60.28 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3761, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002718/0.3789, allocations: 1.422 MB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008662/0.3798, allocations: 364 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.3798, allocations: 4 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.284e-05/0.3799, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.332e-05/0.3799, allocations: 3.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.3805, allocations: 107.6 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.539e-05/0.3806, allocations: 23.98 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3807, allocations: 3.938 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.3808, allocations: 19.92 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.221e-05/0.3808, allocations: 7.984 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.3808, allocations: 0 / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.3811, allocations: 135.7 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.3811, allocations: 7.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.3811, allocations: 4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3813, allocations: 91.78 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.3814, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3814, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.3814, allocations: 0 / 1.09 GB, free: 15.27 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.0005228/0.3819, allocations: 351.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.382, allocations: 8.031 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.382, allocations: 8.844 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3822, allocations: 168.3 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.3822, allocations: 384 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.3822, allocations: 4.359 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.3824, allocations: 46.25 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3824, allocations: 192 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3824, allocations: 11.88 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3824, allocations: 4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.3826, allocations: 31.95 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.383, allocations: 240.9 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3831, allocations: 46.47 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.3832, allocations: 30.33 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007536/0.384, allocations: 465.5 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.384, allocations: 42.55 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.384, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003837/0.3844, allocations: 77.59 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.3845, allocations: 51.41 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.3846, allocations: 106 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3846, allocations: 29.7 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.3846, allocations: 84.05 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3847, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.3847, allocations: 21.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3848, allocations: 310.8 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.3849, allocations: 15.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.385, allocations: 19.98 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.3851, allocations: 36.81 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3852, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000166/0.3853, allocations: 69.45 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3854, allocations: 8 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3854, allocations: 7.922 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.3854, allocations: 4.281 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/0.3855, allocations: 8 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3855, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.3856, allocations: 7.984 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3856, allocations: 4 kB / 1.092 GB, free: 12.68 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 9.212e-05/0.3857, allocations: 109.8 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.3857, allocations: 3.984 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.3859, allocations: 80.72 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3859, allocations: 0 / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.386, allocations: 3.984 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.386, allocations: 3.938 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3861, allocations: 157.6 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3862, allocations: 3.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.3862, allocations: 11.98 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3862, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3862, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3862, allocations: 4.031 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3862, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3865, allocations: 167.5 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.3865, allocations: 81.02 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3866, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.3866, allocations: 8.016 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.3867, allocations: 4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3867, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.3868, allocations: 79.28 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3868, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002792/0.387, allocations: 35.98 kB / 1.093 GB, free: 11.83 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.0002989/0.3874, allocations: 139.2 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3876, allocations: 35.95 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3876, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.3877, allocations: 24.05 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3879, allocations: 7.938 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.3883, allocations: 106.1 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.3886, allocations: 0.6768 MB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.523e-05/0.3886, allocations: 7.938 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.3886, allocations: 7.438 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.3886, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of Templates: time 0.003597/0.3922, allocations: 0.8976 MB / 1.095 GB, free: 9.875 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches