Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007273/0.007273, allocations: 103.4 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 190.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3362, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002378/0.3387, allocations: 1.437 MB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006357/0.3393, allocations: 334.9 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.3394, allocations: 3.938 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.3394, allocations: 3.984 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.3395, allocations: 7.938 kB / 1.209 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.3399, allocations: 103.7 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.34, allocations: 19.92 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.34, allocations: 8 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.3401, allocations: 11.92 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.3401, allocations: 4 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.3401, allocations: 4 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.3404, allocations: 123.8 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.3404, allocations: 4 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.3404, allocations: 7.938 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3406, allocations: 91.8 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3406, allocations: 0 / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3406, allocations: 0 / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3406, allocations: 0 / 1.21 GB, free: 7.445 MB / 0.9669 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.0004596/0.3411, allocations: 359.4 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3411, allocations: 12.62 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.3411, allocations: 4.875 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.3413, allocations: 160.4 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3413, allocations: 4.375 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.3413, allocations: 4.375 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3415, allocations: 54.17 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.3415, allocations: 192 / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3415, allocations: 3.938 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3415, allocations: 0 / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3416, allocations: 35.95 kB / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.3419, allocations: 252.8 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.3421, allocations: 38.5 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.998e-05/0.3422, allocations: 28.83 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006282/0.3428, allocations: 457.5 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.3428, allocations: 34.56 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.3428, allocations: 0 / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003418/0.3432, allocations: 81.58 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.3432, allocations: 59.53 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/0.3433, allocations: 101.8 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3434, allocations: 25.7 kB / 1.211 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.3434, allocations: 84.14 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.3434, allocations: 3.906 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.3435, allocations: 13.72 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3436, allocations: 318.8 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.3437, allocations: 19.98 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.3438, allocations: 15.98 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3439, allocations: 40.81 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.344, allocations: 0 / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.3441, allocations: 65.61 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3442, allocations: 13.59 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3442, allocations: 0 / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3442, allocations: 0 / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.3443, allocations: 7.984 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3443, allocations: 7.984 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.3444, allocations: 3.984 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3444, allocations: 4 kB / 1.212 GB, free: 4.859 MB / 0.9669 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.956e-05/0.3445, allocations: 113.8 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.3445, allocations: 4 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.3447, allocations: 72.72 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3448, allocations: 0 / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3448, allocations: 0 / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3448, allocations: 0 / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.345, allocations: 165.5 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.345, allocations: 4 kB / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.3451, allocations: 11.98 kB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3451, allocations: 4.031 kB / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3451, allocations: 0 / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.3451, allocations: 3.938 kB / 1.212 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3451, allocations: 3.938 kB / 1.212 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3453, allocations: 163.5 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.3454, allocations: 81.05 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.3454, allocations: 8.031 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.3455, allocations: 7.984 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.3456, allocations: 7.938 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3456, allocations: 0 / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.3456, allocations: 79.28 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3456, allocations: 0 / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002819/0.3459, allocations: 31.98 kB / 1.213 GB, free: 4.016 MB / 0.9669 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003237/0.3462, allocations: 135.2 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.3465, allocations: 31.97 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3465, allocations: 8.062 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.22e-05/0.3466, allocations: 19.97 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.3468, allocations: 7.938 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.3472, allocations: 109.4 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3475, allocations: 0.6729 MB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.551e-05/0.3475, allocations: 7.906 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.3475, allocations: 15.5 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3475, allocations: 0 / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of Templates: time 0.003455/0.351, allocations: 0.8864 MB / 1.215 GB, free: 2.062 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches