Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.582/1.582, allocations: 249.5 MB / 257 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 180.8 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009411/0.0009408, allocations: 86.44 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.289e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2193, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7591/0.9785, allocations: 131.7 MB / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.9788, allocations: 74.7 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006594/0.9854, allocations: 2.159 MB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9855, allocations: 4 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.9855, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 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.0004842/0.986, allocations: 334.3 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.9861, allocations: 8.031 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.9861, allocations: 3.938 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.9863, allocations: 167.8 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.9863, allocations: 0 / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.9863, allocations: 0 / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.145e-05/0.9864, allocations: 4 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.598e-05/0.9865, allocations: 29.7 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.9865, allocations: 0 / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.9866, allocations: 0 / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.9866, allocations: 0 / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.9867, allocations: 135 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.567e-05/0.9868, allocations: 24.48 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.9868, allocations: 8.844 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007269/0.9876, allocations: 457 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.9876, allocations: 30.56 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.9876, allocations: 0 / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001679/0.9878, allocations: 33.7 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.9878, allocations: 51.41 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.59e-05/0.9879, allocations: 88.98 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.9879, allocations: 29.7 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.9879, allocations: 80.14 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.988, allocations: 0 / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.988, allocations: 0 / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.9881, allocations: 314.7 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.9882, allocations: 4.031 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-06/0.9882, allocations: 0 / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.9882, allocations: 7.938 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9882, allocations: 3.938 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.552e-05/0.9883, allocations: 33.66 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.9883, allocations: 4 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9883, allocations: 0 / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.9883, allocations: 7.984 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.464e-05/0.9884, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.9884, allocations: 1.656 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-06/0.9884, allocations: 4 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.9884, allocations: 0 / 1.018 GB, free: 2.078 MB / 0.6355 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 () * 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 6.319e-05/0.9885, allocations: 107 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.9885, allocations: 3.953 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.61e-05/0.9886, allocations: 41.34 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.9886, allocations: 3.984 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9886, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9886, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.216e-05/0.9887, allocations: 134 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9887, allocations: 0 / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.9888, allocations: 7.938 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.9888, allocations: 0 / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.9888, allocations: 0 / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.9888, allocations: 3.953 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9888, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.987e-05/0.9889, allocations: 57.12 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.9889, allocations: 81.14 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.989, allocations: 0 / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-06/0.989, allocations: 3.938 kB / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.989, allocations: 3.953 kB / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.989, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.193e-05/0.989, allocations: 79.28 kB / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.784e-06/0.989, allocations: 0 / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002594/0.9893, allocations: 55.36 kB / 1.018 GB, free: 1.43 MB / 0.6355 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 () * 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.0003575/0.9897, allocations: 155.1 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.941e-05/0.9897, allocations: 8 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9898, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-06/0.9898, allocations: 3.938 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.9899, allocations: 4 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000181/0.9901, allocations: 39.95 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.9904, allocations: 0.6768 MB / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.238e-05/0.9904, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.144e-05/0.9904, allocations: 7.438 kB / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.9904, allocations: 0 / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of Templates: time 0.002567/0.993, allocations: 0.5884 MB / 1.02 GB, free: 15.91 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches