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 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.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.001037/0.001037, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001037/0.001037, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.199/2.199, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 64.41 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2562, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001511/0.2578, allocations: 0.5899 MB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005112/0.2583, allocations: 289.4 kB / 1.028 GB, free: 1.195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.2583, allocations: 0 / 1.028 GB, free: 1.195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.061e-05/0.2584, allocations: 3.938 kB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.2584, allocations: 0 / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.2588, allocations: 95.73 kB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.596e-05/0.2588, allocations: 7.984 kB / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.158e-05/0.2588, allocations: 0 / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.099e-05/0.2588, allocations: 0 / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.484e-05/0.2589, allocations: 0 / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.119e-06/0.2589, allocations: 0 / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.2591, allocations: 123.8 kB / 1.028 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.372e-06/0.2591, allocations: 4 kB / 1.028 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.157e-05/0.2591, allocations: 0 / 1.028 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.2592, allocations: 67.84 kB / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2593, allocations: 4 kB / 1.028 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of FrontEnd: time 6.763e-06/0.2593, allocations: 0 / 1.028 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2593, allocations: 7.922 kB / 1.028 GB, free: 0.8867 MB / 0.795 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.0002483/0.2595, allocations: 319.6 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.2596, allocations: 8.031 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.2596, allocations: 4.938 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.781e-05/0.2597, allocations: 164.4 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.2597, allocations: 384 / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.2597, allocations: 4.375 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.218e-05/0.2598, allocations: 38.25 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.2598, allocations: 192 / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.2598, allocations: 7.938 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2598, allocations: 0 / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.349e-05/0.2598, allocations: 0 / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.2599, allocations: 149.6 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 2.816e-05/0.26, allocations: 18.61 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.26, allocations: 8.859 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006053/0.2606, allocations: 457.5 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2606, allocations: 38.55 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2606, allocations: 0 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001029/0.2608, allocations: 41.7 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.2608, allocations: 55.41 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.204e-05/0.2608, allocations: 89.86 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.2608, allocations: 25.7 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/0.2609, allocations: 80.14 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.2609, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.2609, allocations: 13.72 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.261, allocations: 310.8 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.261, allocations: 4 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.261, allocations: 11.98 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.2611, allocations: 4.859 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2611, allocations: 0 / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.801e-05/0.2611, allocations: 37.64 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.2611, allocations: 4 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2611, allocations: 0 / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2612, allocations: 3.938 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.322e-05/0.2612, allocations: 7.938 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2612, allocations: 4.094 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-06/0.2612, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.2612, allocations: 0 / 1.03 GB, free: 14.7 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 5.19e-05/0.2613, allocations: 113.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/0.2613, allocations: 4 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.2613, allocations: 36.77 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.2614, allocations: 4 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2614, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2614, allocations: 3.969 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.221e-05/0.2614, allocations: 149.7 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.2615, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.119e-05/0.2615, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2615, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2615, allocations: 3.938 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.2615, allocations: 0 / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2615, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.127e-05/0.2616, allocations: 65.03 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.2616, allocations: 81.11 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.2616, allocations: 3.938 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.2616, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.2616, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.2616, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.105e-05/0.2617, allocations: 79.22 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.2617, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000197/0.2619, allocations: 31.98 kB / 1.03 GB, free: 14.02 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.0002011/0.2621, allocations: 143.2 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.161e-05/0.2621, allocations: 4 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2621, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/0.2622, allocations: 8.062 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.2623, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001519/0.2624, allocations: 77.08 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.2627, allocations: 0.6768 MB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.072e-05/0.2627, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.2627, allocations: 11.38 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2627, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of Templates: time 0.002402/0.2651, allocations: 0.6291 MB / 1.032 GB, free: 12.41 MB / 0.8106 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 -s cvode -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/jenkins1/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