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.493/1.493, allocations: 249.5 MB / 257 MB, free: 6.941 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.001065/0.001065, allocations: 176.9 kB / 316.3 MB, free: 3.258 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.993/1.993, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.001043/0.001044, allocations: 92.2 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.928e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.269, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9102/1.179, allocations: 132.4 MB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.18, allocations: 70.7 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007462/1.187, allocations: 2.441 MB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.312e-05/1.187, allocations: 7.984 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.187, allocations: 0 / 1.017 GB, free: 3.32 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.0004085/1.188, allocations: 364.3 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.188, allocations: 12.03 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/1.188, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/1.188, allocations: 167 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/1.188, allocations: 0 / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-06/1.188, allocations: 0 / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.041e-05/1.188, allocations: 20.42 kB / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.503e-05/1.188, allocations: 40.11 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.188, allocations: 0 / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/1.188, allocations: 0 / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.188, allocations: 0 / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/1.189, allocations: 251.6 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.429e-05/1.189, allocations: 21.64 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/1.189, allocations: 15.22 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006286/1.189, allocations: 456.2 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/1.189, allocations: 34.5 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/1.189, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001893/1.189, allocations: 41.06 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/1.19, allocations: 51.41 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/1.19, allocations: 92.25 kB / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/1.19, allocations: 25.7 kB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/1.19, allocations: 92.11 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/1.19, allocations: 11.14 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/1.19, allocations: 0 / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.19, allocations: 314.8 kB / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/1.19, allocations: 7.062 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/1.19, allocations: 4 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/1.19, allocations: 3.438 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/1.19, allocations: 0 / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.704e-05/1.19, allocations: 53.08 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.19, allocations: 7.984 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.19, allocations: 3.25 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.19, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/1.19, allocations: 8.656 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.19, allocations: 4 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/1.19, allocations: 7.984 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/1.19, allocations: 0 / 1.019 GB, free: 1.02 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 (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 8.007e-05/1.19, allocations: 113 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/1.19, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/1.191, allocations: 48.58 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.191, allocations: 3.938 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.191, allocations: 3.938 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.191, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/1.191, allocations: 139.6 kB / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.191, allocations: 3.953 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/1.191, allocations: 16.03 kB / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/1.191, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/1.191, allocations: 3.984 kB / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.191, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.191, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/1.191, allocations: 135.2 kB / 1.019 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/1.191, allocations: 81.06 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/1.191, allocations: 8.016 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/1.191, allocations: 8 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/1.191, allocations: 3.984 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/1.191, allocations: 4 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.609e-05/1.191, allocations: 82.78 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.191, allocations: 0 / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002556/1.192, allocations: 35.94 kB / 1.02 GB, free: 276 kB / 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 (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.0003233/1.192, allocations: 166.8 kB / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.809e-05/1.192, allocations: 15.19 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.192, allocations: 4 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.917e-05/1.192, allocations: 4 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/1.192, allocations: 11.38 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/1.192, allocations: 52 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/1.193, allocations: 0.6807 MB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.234e-05/1.193, allocations: 336 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/1.193, allocations: 11.56 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.193, allocations: 3.938 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.002889/1.196, allocations: 0.7446 MB / 1.021 GB, free: 14.55 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