Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.558/1.558, allocations: 249.5 MB / 257 MB, free: 6.953 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.001058/0.001058, allocations: 172.8 kB / 316.3 MB, free: 3.238 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.873/1.873, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009266/0.0009264, allocations: 78.53 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.99e-05, allocations: 11.98 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2196, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7689/0.9886, allocations: 131.6 MB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.9889, allocations: 78.75 kB / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005852/0.9947, allocations: 2.08 MB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9948, allocations: 4 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.9948, allocations: 0 / 1.016 GB, free: 4.316 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002676/0.995, allocations: 338.3 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.9951, allocations: 16.02 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.9951, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.9952, allocations: 163 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.9952, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.9953, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.049e-05/0.9953, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.472e-05/0.9954, allocations: 37.64 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.9954, allocations: 0 / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.9954, allocations: 0 / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9954, allocations: 0 / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.9956, allocations: 132.6 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.848e-05/0.9956, allocations: 25.08 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.9956, allocations: 4.859 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/0.9962, allocations: 449.4 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.9963, allocations: 30.56 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.9963, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.9964, allocations: 29.7 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.9965, allocations: 55.44 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.372e-05/0.9965, allocations: 88.94 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.9965, allocations: 25.7 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.9966, allocations: 83.89 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.9966, allocations: 4 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.9966, allocations: 0 / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9967, allocations: 314.8 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.9968, allocations: 3.938 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-06/0.9968, allocations: 0 / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.9968, allocations: 8.062 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.9968, allocations: 0 / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.673e-05/0.9969, allocations: 33.66 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.9969, allocations: 4 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.9969, allocations: 0 / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.9969, allocations: 0 / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.997, allocations: 4 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.997, allocations: 3.984 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.022e-05/0.997, allocations: 7.922 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.997, allocations: 4.031 kB / 1.018 GB, free: 2.215 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 (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 8.234e-05/0.9971, allocations: 103 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.9971, allocations: 7.953 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.9972, allocations: 45.16 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9973, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.9973, allocations: 0.875 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.9973, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.595e-05/0.9974, allocations: 126.2 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.9974, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.9974, allocations: 8.031 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9974, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.9974, allocations: 4 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.9974, allocations: 3.953 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9974, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.91e-05/0.9975, allocations: 60.56 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.9976, allocations: 81.02 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.9976, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-06/0.9976, allocations: 4.031 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.9976, allocations: 7.891 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.9976, allocations: 0 / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.9977, allocations: 75.28 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9977, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002328/0.9979, allocations: 39.92 kB / 1.018 GB, free: 1.578 MB / 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 (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.0003366/0.9982, allocations: 155.2 kB / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.814e-05/0.9983, allocations: 3.438 kB / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9983, allocations: 3.938 kB / 1.018 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.164e-06/0.9983, allocations: 12.05 kB / 1.018 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.455e-05/0.9984, allocations: 0 / 1.018 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.9987, allocations: 47.95 kB / 1.018 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.999, allocations: 0.6767 MB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.9991, allocations: 8 kB / 1.019 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.9991, allocations: 7.438 kB / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9991, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of Templates: time 0.00249/1.002, allocations: 0.5607 MB / 1.02 GB, free: 64 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches