Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 108 kB / 15.61 MB, free: 152 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.001913/0.001913, allocations: 197.2 kB / 16.53 MB, free: 6.664 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.97 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002275/0.3346, allocations: 0.5877 MB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.3353, allocations: 286.9 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.3354, allocations: 0 / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.3354, allocations: 8 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.994e-06/0.3354, allocations: 0 / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.336, allocations: 95.72 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.667e-05/0.336, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.3361, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.679e-05/0.3361, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.224e-05/0.3361, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.3362, allocations: 4 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.3364, allocations: 127.8 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.3364, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.3365, allocations: 4 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3367, allocations: 67.83 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3367, allocations: 0 / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3367, allocations: 0 / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.3367, allocations: 0 / 1.069 GB, free: 9.234 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004768/0.3372, allocations: 331.5 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.3372, allocations: 15.97 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.3373, allocations: 0.9375 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3374, allocations: 166.5 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3375, allocations: 384 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3375, allocations: 4.375 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3376, allocations: 30.27 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3377, allocations: 192 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3377, allocations: 3.938 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3377, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.988e-05/0.3377, allocations: 7.938 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.3379, allocations: 149.7 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.086e-05/0.338, allocations: 14.58 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.338, allocations: 8.859 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009271/0.339, allocations: 457.6 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.339, allocations: 30.56 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.339, allocations: 4 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001949/0.3392, allocations: 45.56 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.3393, allocations: 51.41 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.225e-05/0.3393, allocations: 89.86 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3394, allocations: 25.7 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.3394, allocations: 84.14 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.3394, allocations: 3.906 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.3395, allocations: 9.719 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3396, allocations: 315 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.3396, allocations: 4 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-06/0.3397, allocations: 3.984 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.3397, allocations: 8.859 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3397, allocations: 4 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.247e-05/0.3398, allocations: 33.64 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3398, allocations: 4 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3398, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3398, allocations: 8.031 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.477e-05/0.3399, allocations: 8 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3399, allocations: 3.938 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.3399, allocations: 0 / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3399, allocations: 0 / 1.071 GB, free: 7.031 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 (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 9.216e-05/0.34, allocations: 109.8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.34, allocations: 4 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.3401, allocations: 44.7 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3402, allocations: 8.016 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3402, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3402, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.3403, allocations: 149.6 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3403, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.3403, allocations: 4 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3403, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3403, allocations: 3.938 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3404, allocations: 0 / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3404, allocations: 0 / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.014e-05/0.3404, allocations: 65.12 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.3405, allocations: 77.11 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.3405, allocations: 3.938 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-06/0.3405, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.3406, allocations: 3.938 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3406, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.3406, allocations: 79.28 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3406, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002571/0.3409, allocations: 32.02 kB / 1.072 GB, free: 6.355 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 (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.0003314/0.3412, allocations: 131.8 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.017e-05/0.3413, allocations: 8 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3413, allocations: 4 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.404e-06/0.3413, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.3415, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.3418, allocations: 88.92 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3421, allocations: 0.6729 MB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.504e-05/0.3421, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.3421, allocations: 11.38 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3421, allocations: 3.938 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of Templates: time 0.002981/0.3451, allocations: 0.6408 MB / 1.073 GB, free: 4.734 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches