Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007993/0.0007992, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009652/0.0009651, allocations: 186.2 kB / 16.92 MB, free: 6.75 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 11.41 kB / 0.9034 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3337, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.0008281/0.3346, allocations: 318.9 kB / 1.06 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007724/0.3354, allocations: 311 kB / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.046e-05/0.3355, allocations: 3.938 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.3355, allocations: 4 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.3355, allocations: 3.938 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.336, allocations: 79.84 kB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.555e-05/0.3361, allocations: 3.938 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.3361, allocations: 0 / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.3361, allocations: 0 / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.3362, allocations: 8 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-06/0.3362, allocations: 0 / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.3365, allocations: 135.7 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.3365, allocations: 8 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.3366, allocations: 25.7 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.3367, allocations: 47.91 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3368, allocations: 0 / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3368, allocations: 0 / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3368, allocations: 0 / 1.06 GB, free: 4.051 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003461/0.3371, allocations: 327.5 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.3372, allocations: 11.97 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.3372, allocations: 8.859 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3373, allocations: 160.4 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3374, allocations: 4.375 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.3374, allocations: 4.375 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.3375, allocations: 26.27 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3375, allocations: 4.125 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3375, allocations: 3.938 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3375, allocations: 3.984 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.3376, allocations: 4 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.3377, allocations: 149.7 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.3378, allocations: 18.58 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.3378, allocations: 8.953 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008672/0.3387, allocations: 473.5 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3387, allocations: 30.56 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3388, allocations: 0 / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001661/0.3389, allocations: 41.56 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.339, allocations: 55.41 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.051e-05/0.339, allocations: 89.86 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.339, allocations: 29.7 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.3391, allocations: 80.27 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.3391, allocations: 4 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.3392, allocations: 9.719 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3393, allocations: 310.8 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.3393, allocations: 0 / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/0.3393, allocations: 4 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.3393, allocations: 8.797 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3393, allocations: 3.938 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.976e-05/0.3394, allocations: 45.75 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3394, allocations: 5.562 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3394, allocations: 0 / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3395, allocations: 3.938 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.3395, allocations: 0 / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3395, allocations: 7.984 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.3395, allocations: 4 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.3395, allocations: 0 / 1.062 GB, free: 1.832 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 (1): * Single equations (assignments): 1 * 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.771e-05/0.3396, allocations: 105.8 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.3396, allocations: 3.969 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.354e-05/0.3397, allocations: 52.69 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3397, allocations: 4 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3397, allocations: 0 / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3398, allocations: 0 / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.877e-05/0.3398, allocations: 145.7 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3399, allocations: 0 / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.3399, allocations: 4 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3399, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3399, allocations: 3.938 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3399, allocations: 32 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3399, allocations: 4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.744e-05/0.34, allocations: 57.08 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.34, allocations: 85.09 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.34, allocations: 3.938 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-06/0.3401, allocations: 0 / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.3401, allocations: 0 / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3401, allocations: 0 / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.007e-05/0.3401, allocations: 79.31 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3401, allocations: 0 / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002235/0.3404, allocations: 28 kB / 1.063 GB, free: 1.168 MB / 0.8106 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 (1): * Single equations (assignments): 1 * 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.0002865/0.3406, allocations: 139.2 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.925e-05/0.3407, allocations: 4 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3407, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.555e-06/0.3407, allocations: 4 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.3409, allocations: 4 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002015/0.3411, allocations: 108.2 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3413, allocations: 0.6731 MB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.3414, allocations: 15.55 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of SimCode: time 9.02e-07/0.3414, allocations: 0 / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of Templates: time 0.002408/0.3438, allocations: 0.7725 MB / 1.064 GB, free: 15.38 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches