Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_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.001831/0.001831, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002882/0.002882, allocations: 194 kB / 16.26 MB, free: 6.621 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.41 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3249, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003557/0.3285, allocations: 1.489 MB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.3294, allocations: 366.9 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.3295, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.778e-05/0.3295, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.3296, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.3302, allocations: 91.8 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.3302, allocations: 27.92 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.3303, allocations: 4 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.3304, allocations: 15.92 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.3305, allocations: 4 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3305, allocations: 4 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.3308, allocations: 147.7 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.3308, allocations: 3.938 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.3308, allocations: 4 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3311, allocations: 99.72 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3311, allocations: 8 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3311, allocations: 0 / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3311, allocations: 0 / 1.07 GB, free: 8.523 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.0005902/0.3317, allocations: 351.7 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3318, allocations: 8.031 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.3318, allocations: 4.938 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.332, allocations: 176.3 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.332, allocations: 384 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.332, allocations: 384 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3322, allocations: 54.23 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3323, allocations: 192 / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3323, allocations: 11.81 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3323, allocations: 0 / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.3325, allocations: 31.97 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.333, allocations: 249 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3331, allocations: 38.5 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.3333, allocations: 24.91 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.3343, allocations: 469.4 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.3344, allocations: 34.5 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.3344, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004958/0.3349, allocations: 89.64 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3349, allocations: 51.41 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3351, allocations: 101.9 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3351, allocations: 25.7 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.3352, allocations: 84.12 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.3352, allocations: 7.906 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.3352, allocations: 13.72 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3354, allocations: 310.8 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3355, allocations: 20.02 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3356, allocations: 23.91 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3358, allocations: 32.83 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3358, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002701/0.3361, allocations: 73.66 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3361, allocations: 4 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3361, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3362, allocations: 4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3363, allocations: 11.98 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3363, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.3364, allocations: 4 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3364, allocations: 0 / 1.072 GB, free: 5.941 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 0.0001027/0.3365, allocations: 117.8 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.3365, allocations: 7.922 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.3369, allocations: 72.97 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3369, allocations: 3.984 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3369, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3369, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.3371, allocations: 157.6 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3372, allocations: 3.938 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.3372, allocations: 19.95 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3373, allocations: 0 / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3373, allocations: 0 / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3373, allocations: 4 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3373, allocations: 0 / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.3376, allocations: 171.3 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.3377, allocations: 85.08 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.3377, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3378, allocations: 7.984 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3379, allocations: 4 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.3379, allocations: 0 / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.338, allocations: 83.27 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.338, allocations: 0 / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004226/0.3384, allocations: 32 kB / 1.073 GB, free: 5.086 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.0003258/0.3387, allocations: 135.2 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.339, allocations: 35.95 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.339, allocations: 8 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3392, allocations: 19.98 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3396, allocations: 13.59 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.3399, allocations: 105.5 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3402, allocations: 0.6768 MB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.3403, allocations: 8.062 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.3403, allocations: 7.438 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3403, allocations: 0 / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.003923/0.3442, allocations: 0.8452 MB / 1.075 GB, free: 3.18 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches