Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_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.001196/0.001196, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001223/0.001223, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 68.36 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3182, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003549/0.3218, allocations: 1.434 MB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.3228, allocations: 342.9 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.3229, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.323, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.3231, allocations: 3.938 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.3238, allocations: 103.7 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3239, allocations: 19.92 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3241, allocations: 12 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.701e-05/0.3241, allocations: 7.938 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.3242, allocations: 11.98 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.3242, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.3246, allocations: 123.8 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.3246, allocations: 7.984 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.3247, allocations: 11.94 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.3249, allocations: 91.73 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3249, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3249, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3249, allocations: 0 / 1.066 GB, free: 12.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004968/0.3254, allocations: 355.8 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3255, allocations: 8.625 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3255, allocations: 4.844 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3257, allocations: 168.4 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3257, allocations: 384 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.3257, allocations: 384 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3259, allocations: 50.23 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3259, allocations: 4.188 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3259, allocations: 3.938 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3259, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.3261, allocations: 35.91 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.3264, allocations: 245 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.3266, allocations: 42.5 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.77e-05/0.3267, allocations: 20.91 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/0.3274, allocations: 465.4 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3274, allocations: 42.5 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.3274, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003564/0.3278, allocations: 85.48 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3278, allocations: 51.41 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.3279, allocations: 101.8 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3279, allocations: 25.83 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.328, allocations: 88.14 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.328, allocations: 7.906 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.328, allocations: 9.719 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.3281, allocations: 314.8 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.3282, allocations: 19.97 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.3283, allocations: 11.98 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.3285, allocations: 48.83 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3285, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.3287, allocations: 69.59 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3287, allocations: 6.188 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3287, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3287, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.3288, allocations: 16.02 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3288, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.3289, allocations: 4 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3289, allocations: 3.984 kB / 1.069 GB, free: 10.26 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 (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.783e-05/0.3289, allocations: 109.8 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.329, allocations: 4 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.3292, allocations: 76.72 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3292, allocations: 192 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3292, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3292, allocations: 7.984 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.3294, allocations: 161.6 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3294, allocations: 4 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.3295, allocations: 4 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3295, allocations: 0 / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3295, allocations: 0 / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3295, allocations: 4 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3295, allocations: 8.016 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3297, allocations: 167.3 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.3298, allocations: 88.94 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.3298, allocations: 0 / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.3299, allocations: 4 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3299, allocations: 8.016 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3299, allocations: 0 / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.33, allocations: 83.28 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.33, allocations: 3.938 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002692/0.3303, allocations: 28 kB / 1.069 GB, free: 9.41 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 (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.0002786/0.3305, allocations: 135.8 kB / 1.069 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.3308, allocations: 39.95 kB / 1.069 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3308, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.3309, allocations: 23.92 kB / 1.069 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.3311, allocations: 3.938 kB / 1.069 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.3314, allocations: 135.3 kB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.3316, allocations: 0.6768 MB / 1.07 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.3317, allocations: 7.438 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.3317, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of Templates: time 0.002401/0.3341, allocations: 0.9835 MB / 1.071 GB, free: 7.348 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches