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 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.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.001058/0.001058, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009563/0.009563, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.781/2.781, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8.906 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3301, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001513/0.3317, allocations: 1.156 MB / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008225/0.3325, allocations: 370.9 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.3326, allocations: 4 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.3326, allocations: 7.922 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.611e-05/0.3326, allocations: 0 / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.333, allocations: 83.8 kB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.333, allocations: 15.98 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.518e-05/0.3331, allocations: 4 kB / 1.06 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.3332, allocations: 15.92 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.385e-05/0.3332, allocations: 4 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.3332, allocations: 0 / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.3335, allocations: 147.7 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.3335, allocations: 11.92 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.3335, allocations: 29.7 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3337, allocations: 91.78 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3337, allocations: 3.938 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3337, allocations: 0 / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3337, allocations: 4 kB / 1.061 GB, free: 3.516 MB / 0.8106 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.0005085/0.3343, allocations: 355.7 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3343, allocations: 8.031 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.3343, allocations: 4.875 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3344, allocations: 176.3 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.3345, allocations: 384 / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3345, allocations: 384 / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3346, allocations: 58.23 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.3347, allocations: 192 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3347, allocations: 7.938 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3347, allocations: 0 / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.3349, allocations: 43.97 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.3352, allocations: 252.8 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3353, allocations: 42.5 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.3354, allocations: 32.91 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/0.3361, allocations: 477.4 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3361, allocations: 30.56 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.3361, allocations: 0 / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003687/0.3365, allocations: 101.6 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.3366, allocations: 55.41 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.3366, allocations: 97.86 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.3367, allocations: 25.7 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.3367, allocations: 84.14 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.3367, allocations: 11.89 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.3368, allocations: 13.72 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3369, allocations: 315 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.337, allocations: 19.98 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.337, allocations: 19.98 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3372, allocations: 52.88 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3372, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002119/0.3374, allocations: 81.55 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3375, allocations: 13.86 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3375, allocations: 0 / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.3375, allocations: 0 / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.3376, allocations: 8 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3376, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.3376, allocations: 20.02 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.3377, allocations: 0 / 1.063 GB, free: 0.8398 MB / 0.8106 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.789e-05/0.3377, allocations: 109.8 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3378, allocations: 7.906 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.338, allocations: 92.66 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.338, allocations: 7.984 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.338, allocations: 0 / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.338, allocations: 0 / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.3382, allocations: 157.6 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3382, allocations: 0 / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.3383, allocations: 11.98 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3383, allocations: 0 / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3383, allocations: 3.938 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3383, allocations: 32 / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3383, allocations: 4 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.3386, allocations: 175.6 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.3386, allocations: 89.06 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3386, allocations: 0 / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.3387, allocations: 11.98 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3388, allocations: 0 / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3388, allocations: 3.938 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.3388, allocations: 83.27 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3388, allocations: 0 / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002841/0.3391, allocations: 28.05 kB / 1.064 GB, free: 15.97 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.0002634/0.3394, allocations: 139.2 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3396, allocations: 51.95 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3396, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.3397, allocations: 19.98 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.3399, allocations: 11.94 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.3402, allocations: 116.7 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3405, allocations: 0.6731 MB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.3405, allocations: 4 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.3406, allocations: 11.42 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3406, allocations: 0 / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.003156/0.3437, allocations: 0.8203 MB / 1.065 GB, free: 14.07 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