Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 249.3 MB / 261.8 MB, free: 5.859 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.001132/0.001132, allocations: 176.9 kB / 321.3 MB, free: 14.64 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.957/1.957, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008695/0.0008697, allocations: 88.78 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.324e-05/5.335e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2452, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8552/1.1, allocations: 132.1 MB / 1.021 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001819/1.101, allocations: 74.64 kB / 1.021 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006874/1.108, allocations: 2.38 MB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.152e-06/1.108, allocations: 0 / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.108, allocations: 4 kB / 1.023 GB, free: 0.5469 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003696/1.108, allocations: 361.1 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.108, allocations: 8.031 kB / 1.024 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/1.108, allocations: 7.984 kB / 1.024 GB, free: 140 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/1.108, allocations: 172.5 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/1.108, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/1.108, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/1.108, allocations: 36.77 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/1.108, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/1.108, allocations: 7.984 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/1.108, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.065e-05/1.109, allocations: 9.312 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/1.109, allocations: 268.3 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/1.109, allocations: 29.77 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/1.109, allocations: 16.55 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/1.11, allocations: 453.3 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.11, allocations: 30.56 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.11, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001407/1.11, allocations: 36.58 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/1.11, allocations: 51.41 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/1.11, allocations: 104.3 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/1.11, allocations: 25.7 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/1.11, allocations: 82.83 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/1.11, allocations: 7.844 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/1.11, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.11, allocations: 321.5 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/1.11, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/1.11, allocations: 11.38 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.093e-05/1.11, allocations: 8.062 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.11, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.362e-05/1.11, allocations: 45.19 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.11, allocations: 4 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/1.11, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/1.11, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/1.11, allocations: 11.98 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.11, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/1.111, allocations: 12.03 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/1.111, allocations: 3.938 kB / 1.025 GB, free: 14.21 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.815e-05/1.111, allocations: 108.4 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/1.111, allocations: 7.984 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/1.111, allocations: 54.83 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.111, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.111, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.111, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/1.111, allocations: 164.6 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/1.111, allocations: 4 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/1.111, allocations: 11.98 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.111, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/1.111, allocations: 192 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.111, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.111, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/1.111, allocations: 154.2 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/1.111, allocations: 77.11 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/1.111, allocations: 0 / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/1.111, allocations: 11.98 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/1.111, allocations: 3.938 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/1.111, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.6e-05/1.112, allocations: 82.78 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/1.112, allocations: 0 / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002741/1.112, allocations: 51.95 kB / 1.026 GB, free: 13.41 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.0003046/1.112, allocations: 154.5 kB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.365e-05/1.112, allocations: 11.31 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.112, allocations: 3.938 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-05/1.112, allocations: 7.984 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/1.112, allocations: 11.64 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/1.113, allocations: 63.25 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/1.113, allocations: 0.681 MB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.309e-05/1.113, allocations: 4 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/1.113, allocations: 11.44 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/1.113, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.003031/1.116, allocations: 0.7666 MB / 1.028 GB, free: 11.67 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselY0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches