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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 106.5 kB / 16.41 MB, free: 6.488 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.001527/0.001527, allocations: 187 kB / 17.34 MB, free: 5.73 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.54/1.54, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.088, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002659/1.09, allocations: 1.435 MB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007457/1.091, allocations: 359.8 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/1.091, allocations: 0 / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/1.091, allocations: 3.938 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-05/1.091, allocations: 5.672 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/1.092, allocations: 113.3 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.37e-05/1.092, allocations: 27.83 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/1.092, allocations: 4.172 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/1.092, allocations: 8.984 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/1.092, allocations: 9.938 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/1.092, allocations: 2.156 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/1.092, allocations: 133.2 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/1.092, allocations: 6.719 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/1.092, allocations: 10.89 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/1.093, allocations: 83.14 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.093, allocations: 0 / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/1.093, allocations: 3.938 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.65e-06/1.093, allocations: 0 / 1.091 GB, free: 4.152 MB / 0.8575 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.0004268/1.093, allocations: 351.7 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.093, allocations: 10.09 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/1.093, allocations: 9.781 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.005e-05/1.093, allocations: 175.6 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/1.093, allocations: 5.953 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/1.093, allocations: 1.438 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/1.093, allocations: 48.7 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/1.093, allocations: 1.406 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/1.093, allocations: 3.938 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.093, allocations: 0 / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/1.094, allocations: 33.5 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/1.094, allocations: 249.9 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/1.094, allocations: 44.52 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.031e-05/1.094, allocations: 20 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/1.095, allocations: 472.8 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/1.095, allocations: 32.25 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/1.095, allocations: 0 / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003566/1.095, allocations: 87.97 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/1.095, allocations: 52.69 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.636e-05/1.095, allocations: 100.1 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/1.095, allocations: 26.8 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/1.095, allocations: 86.06 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/1.095, allocations: 2.016 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/1.095, allocations: 15.7 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.386e-05/1.095, allocations: 317.5 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/1.095, allocations: 18.36 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/1.096, allocations: 13.36 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/1.096, allocations: 37 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.096, allocations: 1.75 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002013/1.096, allocations: 77.75 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.096, allocations: 6.094 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.096, allocations: 0 / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.096, allocations: 9.062 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.866e-05/1.096, allocations: 8.812 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.096, allocations: 0.8125 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/1.096, allocations: 10.44 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/1.096, allocations: 4.656 kB / 1.093 GB, free: 1.945 MB / 0.8575 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 4.77e-05/1.096, allocations: 112.3 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/1.096, allocations: 1.562 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/1.096, allocations: 74.84 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.096, allocations: 1.5 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.096, allocations: 0 / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.096, allocations: 0.8438 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/1.097, allocations: 164.1 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.097, allocations: 0 / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/1.097, allocations: 9.156 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/1.097, allocations: 0.7188 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/1.097, allocations: 0.6875 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.097, allocations: 0.7969 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.097, allocations: 0.6875 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/1.097, allocations: 166.8 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/1.097, allocations: 84.39 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/1.097, allocations: 1.297 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/1.097, allocations: 6 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/1.097, allocations: 10.89 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/1.097, allocations: 4.75 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.204e-05/1.097, allocations: 80.03 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.097, allocations: 32 / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002641/1.097, allocations: 37.33 kB / 1.094 GB, free: 1.242 MB / 0.8575 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.0002589/1.098, allocations: 133.2 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002184/1.098, allocations: 39.03 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.098, allocations: 0 / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/1.098, allocations: 16.34 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/1.098, allocations: 14.97 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/1.099, allocations: 135.1 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/1.099, allocations: 0.6797 MB / 1.095 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/1.099, allocations: 13.09 kB / 1.095 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.099, allocations: 0 / 1.095 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of Templates: time 0.003505/1.102, allocations: 0.9846 MB / 1.096 GB, free: 16.21 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches