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.0009658/0.0009659, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001022/0.001022, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.662/2.662, allocations: 436.5 MB / 0.7104 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004599, allocations: 12 kB / 0.8708 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8851/0.8856, allocations: 153.7 MB / 1.021 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0007662/0.8864, allocations: 317.4 kB / 1.021 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005995/0.887, allocations: 259.3 kB / 1.021 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.139e-05/0.887, allocations: 0 / 1.021 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.887, allocations: 0 / 1.021 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.887, allocations: 0 / 1.021 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.8875, allocations: 71.8 kB / 1.021 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.217e-05/0.8875, allocations: 7.984 kB / 1.021 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.8876, allocations: 0 / 1.021 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.8876, allocations: 0 / 1.021 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.602e-05/0.8876, allocations: 0 / 1.021 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.8876, allocations: 0 / 1.021 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.8879, allocations: 127.8 kB / 1.022 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-06/0.8879, allocations: 0 / 1.022 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.888, allocations: 25.7 kB / 1.022 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.8881, allocations: 43.92 kB / 1.022 GB, free: 228 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.8881, allocations: 0 / 1.022 GB, free: 228 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8881, allocations: 4 kB / 1.022 GB, free: 224 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.8881, allocations: 0 / 1.022 GB, free: 224 kB / 0.7637 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.0003545/0.8885, allocations: 331.4 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.8886, allocations: 15.92 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.8886, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.8887, allocations: 167 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.8887, allocations: 0 / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.8888, allocations: 0 / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.8889, allocations: 29.66 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.8889, allocations: 7.984 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.8889, allocations: 0 / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.8889, allocations: 4 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.8889, allocations: 0 / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.8891, allocations: 145.7 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.8892, allocations: 26.55 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008158/0.89, allocations: 457.5 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.89, allocations: 30.56 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.803e-06/0.89, allocations: 4 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.8902, allocations: 37.66 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.8902, allocations: 55.34 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.8903, allocations: 93.98 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.8903, allocations: 25.7 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.8903, allocations: 80.14 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.8904, allocations: 7.891 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.8904, allocations: 0 / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8905, allocations: 314.8 kB / 1.023 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.8905, allocations: 0 / 1.023 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.8905, allocations: 4 kB / 1.023 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.936e-05/0.8906, allocations: 4.062 kB / 1.023 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8906, allocations: 0 / 1.023 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.659e-05/0.8906, allocations: 33.7 kB / 1.023 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.8907, allocations: 5.094 kB / 1.023 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8907, allocations: 0 / 1.023 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8907, allocations: 3.953 kB / 1.023 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.8907, allocations: 7.984 kB / 1.023 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8908, allocations: 0 / 1.023 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.8908, allocations: 0 / 1.023 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.8908, allocations: 3.938 kB / 1.023 GB, free: 14.06 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.565e-05/0.8909, allocations: 109.9 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.8909, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.891, allocations: 44.81 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.891, allocations: 7.922 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.891, allocations: 3.953 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.891, allocations: 0 / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.8911, allocations: 141.7 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.8911, allocations: 3.938 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.8911, allocations: 4 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.8911, allocations: 4.031 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.8912, allocations: 0 / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8912, allocations: 0 / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8912, allocations: 0 / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.472e-05/0.8913, allocations: 69.02 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.8913, allocations: 77.11 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.8913, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.8913, allocations: 4.031 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.8913, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.8914, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.008e-05/0.8914, allocations: 83.22 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8914, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000223/0.8916, allocations: 28 kB / 1.024 GB, free: 13.39 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002794/0.8919, allocations: 135.2 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.637e-05/0.892, allocations: 8 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.892, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.892, allocations: 7.938 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.425e-05/0.8921, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.8923, allocations: 80.78 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.8926, allocations: 0.6731 MB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.439e-05/0.8926, allocations: 4 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.8926, allocations: 7.438 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8926, allocations: 0 / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of Templates: time 0.002764/0.8954, allocations: 0.6205 MB / 1.026 GB, free: 11.8 MB / 0.7794 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","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches