Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.537/1.537, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001137/0.001137, allocations: 180.6 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001046/0.001047, allocations: 98.39 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.605e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2472, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8352/1.083, allocations: 132.1 MB / 1.021 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.083, allocations: 71.52 kB / 1.021 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007959/1.091, allocations: 2.46 MB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/1.091, allocations: 0 / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.885e-06/1.091, allocations: 0 / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004185/1.091, allocations: 365.4 kB / 1.024 GB, free: 4 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.713e-05/1.091, allocations: 8.078 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/1.091, allocations: 0 / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/1.092, allocations: 171 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/1.092, allocations: 3.562 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/1.092, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/1.092, allocations: 40.7 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/1.092, allocations: 4 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/1.092, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/1.092, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/1.092, allocations: 14.67 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/1.092, allocations: 269.5 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.759e-05/1.092, allocations: 25.89 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/1.092, allocations: 16.8 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006398/1.093, allocations: 461.2 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.093, allocations: 34.56 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.061e-06/1.093, allocations: 0 / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/1.093, allocations: 36.64 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.093, allocations: 55.41 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/1.093, allocations: 95.11 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/1.093, allocations: 25.7 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/1.093, allocations: 87.02 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/1.093, allocations: 7.938 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/1.093, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.094, allocations: 318.8 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/1.094, allocations: 2.562 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.753e-05/1.094, allocations: 11.06 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.858e-05/1.094, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.094, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.151e-05/1.094, allocations: 49.38 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.094, allocations: 8.094 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.094, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/1.094, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/1.094, allocations: 15.05 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/1.094, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/1.094, allocations: 8 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/1.094, allocations: 3.984 kB / 1.025 GB, free: 14.05 MB / 0.6511 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 (2): * Single equations (assignments): 2 * 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.737e-05/1.094, allocations: 108.9 kB / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/1.094, allocations: 4 kB / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/1.094, allocations: 55.89 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.094, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.094, allocations: 4 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/1.094, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/1.094, allocations: 160.8 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.094, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/1.095, allocations: 11.98 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.095, allocations: 4.031 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/1.095, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.095, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.095, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/1.095, allocations: 148.8 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/1.095, allocations: 77.11 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/1.095, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/1.095, allocations: 23.27 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/1.095, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/1.095, allocations: 4 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.667e-05/1.095, allocations: 75.28 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/1.095, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002799/1.095, allocations: 47.67 kB / 1.026 GB, free: 13.27 MB / 0.6511 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 (2): * Single equations (assignments): 2 * 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.0003237/1.096, allocations: 159.5 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.088e-05/1.096, allocations: 11.25 kB / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.096, allocations: 8 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/1.096, allocations: 10.81 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/1.096, allocations: 14.23 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001927/1.096, allocations: 58.61 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/1.096, allocations: 0.6809 MB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.267e-05/1.096, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/1.096, allocations: 7.438 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.096, allocations: 64 / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.002846/1.099, allocations: 0.7863 MB / 1.028 GB, free: 11.51 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselY1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches