Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_11_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.001213/0.001213, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009099/0.009099, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.597/1.597, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.951/2.951, allocations: 470.6 MB / 0.7442 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003419, allocations: 12.14 kB / 0.9123 GB, free: 34.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3106, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.00186/0.3126, allocations: 1.156 MB / 1.071 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.3133, allocations: 376.6 kB / 1.071 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.3134, allocations: 0 / 1.071 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.3134, allocations: 4 kB / 1.071 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.595e-05/0.3134, allocations: 0 / 1.071 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.3138, allocations: 79.8 kB / 1.071 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.243e-05/0.3139, allocations: 23.92 kB / 1.071 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.314, allocations: 7.984 kB / 1.071 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.314, allocations: 11.92 kB / 1.071 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.302e-05/0.314, allocations: 11.94 kB / 1.072 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.056e-06/0.3141, allocations: 0 / 1.072 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.3143, allocations: 147.7 kB / 1.072 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.3143, allocations: 7.938 kB / 1.072 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.3144, allocations: 29.7 kB / 1.072 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.3146, allocations: 91.73 kB / 1.072 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3146, allocations: 0 / 1.072 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3146, allocations: 0 / 1.072 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.3146, allocations: 0 / 1.072 GB, free: 9.469 MB / 0.8262 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.0004783/0.3151, allocations: 359.8 kB / 1.072 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.3151, allocations: 8.031 kB / 1.072 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.3152, allocations: 4.844 kB / 1.072 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3154, allocations: 168.4 kB / 1.072 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3154, allocations: 384 / 1.072 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-06/0.3154, allocations: 384 / 1.072 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3156, allocations: 58.23 kB / 1.072 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3156, allocations: 192 / 1.072 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3156, allocations: 3.938 kB / 1.072 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3157, allocations: 4 kB / 1.072 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.3158, allocations: 47.91 kB / 1.072 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.3162, allocations: 249 kB / 1.073 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3163, allocations: 42.5 kB / 1.073 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3164, allocations: 40.84 kB / 1.073 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007957/0.3173, allocations: 469.4 kB / 1.073 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.3173, allocations: 34.56 kB / 1.073 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3173, allocations: 0 / 1.073 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004039/0.3177, allocations: 101.7 kB / 1.073 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3178, allocations: 51.41 kB / 1.073 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.3179, allocations: 101.9 kB / 1.073 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3179, allocations: 25.7 kB / 1.073 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.3179, allocations: 80.14 kB / 1.074 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.318, allocations: 11.89 kB / 1.074 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.318, allocations: 13.72 kB / 1.074 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3181, allocations: 310.9 kB / 1.074 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.266e-05/0.3182, allocations: 23.98 kB / 1.074 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.1e-05/0.3183, allocations: 19.98 kB / 1.074 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.3185, allocations: 56.81 kB / 1.074 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3185, allocations: 0 / 1.074 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.3187, allocations: 85.5 kB / 1.074 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3188, allocations: 4 kB / 1.074 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3188, allocations: 7.984 kB / 1.074 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3188, allocations: 0 / 1.074 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.3189, allocations: 11.94 kB / 1.074 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3189, allocations: 0 / 1.074 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.319, allocations: 11.98 kB / 1.074 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.319, allocations: 4 kB / 1.074 GB, free: 6.789 MB / 0.8262 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 7.89e-05/0.3191, allocations: 113.8 kB / 1.074 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.3191, allocations: 0 / 1.074 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.3193, allocations: 88.7 kB / 1.074 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3194, allocations: 4.031 kB / 1.074 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3194, allocations: 192 / 1.074 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3194, allocations: 4 kB / 1.074 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.3196, allocations: 161.6 kB / 1.074 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3196, allocations: 0 / 1.074 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.3196, allocations: 11.98 kB / 1.074 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3197, allocations: 0 / 1.074 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3197, allocations: 0 / 1.074 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.3197, allocations: 0 / 1.074 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3197, allocations: 3.938 kB / 1.074 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.32, allocations: 179.4 kB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.32, allocations: 85.05 kB / 1.075 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.32, allocations: 4.031 kB / 1.075 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3202, allocations: 11.98 kB / 1.075 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.3202, allocations: 0 / 1.075 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3202, allocations: 0 / 1.075 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.3203, allocations: 83.27 kB / 1.075 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3203, allocations: 0 / 1.075 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002667/0.3205, allocations: 28 kB / 1.075 GB, free: 5.93 MB / 0.8262 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.0003242/0.3209, allocations: 135.2 kB / 1.075 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.3211, allocations: 51.95 kB / 1.075 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3211, allocations: 0 / 1.075 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3212, allocations: 23.92 kB / 1.075 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.3215, allocations: 13.19 kB / 1.075 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.3218, allocations: 112.7 kB / 1.075 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.3222, allocations: 0.6731 MB / 1.076 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.3222, allocations: 11.98 kB / 1.076 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.3222, allocations: 7.438 kB / 1.076 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3222, allocations: 0 / 1.076 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of Templates: time 0.003927/0.3262, allocations: 0.8228 MB / 1.077 GB, free: 4.027 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches