Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 186.3 kB / 492.3 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.3 MB / 0.7872 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008106/0.0008107, allocations: 95.27 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.394e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2871, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.865/1.152, allocations: 149.7 MB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/1.152, allocations: 74.81 kB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007858/1.16, allocations: 2.472 MB / 1.361 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.004e-06/1.16, allocations: 0 / 1.361 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.16, allocations: 0 / 1.361 GB, free: 34.64 MB / 0.8386 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.0004211/1.161, allocations: 361 kB / 1.361 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.161, allocations: 11.59 kB / 1.361 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/1.161, allocations: 0.625 kB / 1.361 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/1.161, allocations: 170.2 kB / 1.362 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/1.161, allocations: 8.953 kB / 1.362 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/1.161, allocations: 0 / 1.362 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/1.161, allocations: 39.47 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.161, allocations: 0 / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/1.161, allocations: 4 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.161, allocations: 3.844 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/1.161, allocations: 9.125 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/1.162, allocations: 265 kB / 1.362 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.375e-05/1.162, allocations: 29.98 kB / 1.362 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/1.162, allocations: 12.67 kB / 1.362 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005109/1.162, allocations: 451.9 kB / 1.362 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.162, allocations: 36.64 kB / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/1.162, allocations: 0 / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001385/1.162, allocations: 42 kB / 1.362 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/1.162, allocations: 54.53 kB / 1.363 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/1.163, allocations: 94.2 kB / 1.363 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/1.163, allocations: 25.7 kB / 1.363 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/1.163, allocations: 95.27 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/1.163, allocations: 5.547 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/1.163, allocations: 4.031 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.163, allocations: 318.5 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/1.163, allocations: 7.844 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/1.163, allocations: 5.484 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/1.163, allocations: 6.75 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.163, allocations: 0 / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.885e-05/1.163, allocations: 38.17 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.163, allocations: 7.719 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.163, allocations: 8.031 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.163, allocations: 0 / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/1.163, allocations: 11.05 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.163, allocations: 0 / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/1.163, allocations: 14.98 kB / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/1.163, allocations: 0 / 1.363 GB, free: 32.54 MB / 0.8386 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.362e-05/1.163, allocations: 109.2 kB / 1.363 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/1.163, allocations: 11.88 kB / 1.363 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/1.163, allocations: 48.22 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.163, allocations: 3.938 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.163, allocations: 0 / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.163, allocations: 1.594 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/1.164, allocations: 161.4 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.164, allocations: 3.812 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/1.164, allocations: 10.67 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.164, allocations: 4.031 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/1.164, allocations: 0 / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.164, allocations: 1.406 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.164, allocations: 0 / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/1.164, allocations: 142.9 kB / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/1.164, allocations: 78.8 kB / 1.364 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/1.164, allocations: 3.844 kB / 1.364 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/1.164, allocations: 9.656 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/1.164, allocations: 5.156 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/1.164, allocations: 1.781 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.699e-05/1.164, allocations: 82 kB / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.31e-07/1.164, allocations: 0 / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003014/1.164, allocations: 40.41 kB / 1.364 GB, free: 31.87 MB / 0.8386 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.0002883/1.165, allocations: 158.4 kB / 1.364 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.058e-05/1.165, allocations: 15.06 kB / 1.364 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.165, allocations: 0 / 1.364 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/1.165, allocations: 11.84 kB / 1.364 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/1.165, allocations: 12.33 kB / 1.364 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001723/1.165, allocations: 59.97 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/1.165, allocations: 0.6811 MB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.553e-05/1.165, allocations: 0 / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/1.165, allocations: 7.438 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.165, allocations: 3.844 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of Templates: time 0.002789/1.168, allocations: 0.7836 MB / 1.366 GB, free: 30.9 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches