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.004513/0.004513, allocations: 99.31 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.001115/0.001115, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.096/2.096, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 63.44 kB / 0.9508 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2605, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002177/0.2627, allocations: 1.419 MB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006103/0.2633, allocations: 360.1 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.2634, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.2634, allocations: 3.938 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.2634, allocations: 3.938 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.2639, allocations: 109.6 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.701e-05/0.2639, allocations: 27.91 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.393e-05/0.264, allocations: 8 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.264, allocations: 7.938 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.426e-05/0.2641, allocations: 7.984 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.2641, allocations: 4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.2643, allocations: 127.8 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.2643, allocations: 7.938 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.2643, allocations: 7.984 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.2645, allocations: 95.73 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2645, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2645, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2645, allocations: 4 kB / 1.09 GB, free: 15.29 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.0004049/0.2649, allocations: 355.5 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.265, allocations: 8.031 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.265, allocations: 8.844 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2651, allocations: 160.4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.2651, allocations: 384 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2651, allocations: 4.375 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.2653, allocations: 54.22 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.2653, allocations: 8.062 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2653, allocations: 11.94 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2653, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.2655, allocations: 35.89 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.2658, allocations: 241 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.266, allocations: 42.5 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.2661, allocations: 30.31 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006962/0.2668, allocations: 465.5 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.2668, allocations: 38.5 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2668, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003105/0.2671, allocations: 77.64 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.2672, allocations: 59.53 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.2672, allocations: 101.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.2673, allocations: 25.7 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.2673, allocations: 84.05 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.2673, allocations: 8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.2674, allocations: 9.719 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.2675, allocations: 310.8 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.2675, allocations: 23.97 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.2676, allocations: 15.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.2678, allocations: 40.77 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2678, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001824/0.2679, allocations: 73.5 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.268, allocations: 12.09 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.268, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.268, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.316e-05/0.2681, allocations: 7.984 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2681, allocations: 4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.2681, allocations: 7.984 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.2681, allocations: 0 / 1.092 GB, free: 12.7 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.045e-05/0.2682, allocations: 109.8 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.2682, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.2685, allocations: 80.66 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2685, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2685, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2685, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.2687, allocations: 165.5 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2687, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.2687, allocations: 8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.2688, allocations: 4.031 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.2688, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2688, allocations: 3.984 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2688, allocations: 3.938 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.269, allocations: 171.4 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.269, allocations: 85.02 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.2691, allocations: 8.031 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.2691, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.2692, allocations: 3.984 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2692, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.2692, allocations: 83.47 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.2692, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002319/0.2695, allocations: 28 kB / 1.093 GB, free: 11.85 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.0002096/0.2697, allocations: 139.3 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.2699, allocations: 35.97 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2699, allocations: 64 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.27, allocations: 27.92 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.2702, allocations: 9.484 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.2704, allocations: 105.6 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2707, allocations: 0.6768 MB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.2707, allocations: 3.984 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.2707, allocations: 7.438 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2707, allocations: 4.062 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of Templates: time 0.002675/0.2734, allocations: 0.9094 MB / 1.095 GB, free: 9.883 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