Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.411/2.411, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001043/0.001043, allocations: 172.1 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.00103/0.00103, allocations: 99.83 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.379e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3157, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.33, allocations: 149.8 MB / 1.365 GB, free: 4.219 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/1.33, allocations: 74.88 kB / 1.365 GB, free: 4.176 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006195/1.336, allocations: 2.18 MB / 1.367 GB, free: 2.297 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.373e-06/1.336, allocations: 0 / 1.367 GB, free: 2.297 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.959e-06/1.336, allocations: 0 / 1.367 GB, free: 2.297 MB / 0.823 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.0002589/1.336, allocations: 338.4 kB / 1.368 GB, free: 1.922 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.336, allocations: 8.031 kB / 1.368 GB, free: 1.914 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/1.337, allocations: 3.938 kB / 1.368 GB, free: 1.914 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/1.337, allocations: 163 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/1.337, allocations: 3.938 kB / 1.368 GB, free: 1.711 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/1.337, allocations: 0 / 1.368 GB, free: 1.711 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/1.337, allocations: 33.69 kB / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/1.337, allocations: 0 / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/1.337, allocations: 0 / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/1.337, allocations: 4 kB / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.955e-05/1.337, allocations: 4 kB / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/1.337, allocations: 146.3 kB / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.295e-05/1.337, allocations: 21.83 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/1.337, allocations: 8.953 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000616/1.338, allocations: 461.4 kB / 1.368 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/1.338, allocations: 34.56 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/1.338, allocations: 0 / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001114/1.338, allocations: 29.7 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/1.338, allocations: 51.41 kB / 1.369 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.994e-05/1.338, allocations: 89.03 kB / 1.369 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/1.338, allocations: 25.7 kB / 1.369 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/1.338, allocations: 80.14 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/1.338, allocations: 0.625 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-06/1.338, allocations: 3.938 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/1.338, allocations: 318.7 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/1.338, allocations: 4 kB / 1.369 GB, free: 228 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/1.338, allocations: 3.938 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.624e-05/1.338, allocations: 8.016 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.338, allocations: 0 / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.549e-05/1.338, allocations: 33.7 kB / 1.369 GB, free: 176 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.338, allocations: 5.719 kB / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.338, allocations: 0 / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.338, allocations: 4 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.685e-05/1.338, allocations: 7.938 kB / 1.369 GB, free: 160 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/1.338, allocations: 0 / 1.369 GB, free: 160 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-06/1.338, allocations: 0 / 1.369 GB, free: 160 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.338, allocations: 4.016 kB / 1.369 GB, free: 156 kB / 0.823 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.17e-05/1.338, allocations: 110 kB / 1.369 GB, free: 40 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/1.338, allocations: 3.984 kB / 1.369 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.047e-05/1.339, allocations: 43.11 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/1.339, allocations: 4 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.339, allocations: 0 / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/1.339, allocations: 0 / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.725e-05/1.339, allocations: 145.7 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/1.339, allocations: 3.953 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/1.339, allocations: 8.031 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/1.339, allocations: 0 / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/1.339, allocations: 3.562 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.339, allocations: 0 / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.339, allocations: 0 / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.969e-05/1.339, allocations: 61.06 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/1.339, allocations: 81.06 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/1.339, allocations: 0 / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-06/1.339, allocations: 4.031 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/1.339, allocations: 3.625 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/1.339, allocations: 0 / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.955e-05/1.339, allocations: 75.28 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.339, allocations: 0 / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002252/1.339, allocations: 43.86 kB / 1.37 GB, free: 15.49 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 (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.0003063/1.339, allocations: 159.2 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.442e-05/1.339, allocations: 7.375 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.339, allocations: 0 / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/1.34, allocations: 8 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.326e-05/1.34, allocations: 0.7656 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001333/1.34, allocations: 48.94 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/1.34, allocations: 0.677 MB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.334e-05/1.34, allocations: 3.984 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.105e-05/1.34, allocations: 7.438 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.34, allocations: 0 / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.002541/1.343, allocations: 0.6051 MB / 1.371 GB, free: 13.93 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches