Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_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.004908/0.004908, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001217/0.001218, allocations: 187.4 kB / 16.67 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.497/2.497, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.55 kB / 0.9508 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3351, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.0028/0.3379, allocations: 1.426 MB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007513/0.3387, allocations: 352 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.3387, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.3388, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.387e-05/0.3388, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.3393, allocations: 99.72 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.3394, allocations: 23.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3395, allocations: 4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.3396, allocations: 11.92 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.3396, allocations: 11.98 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3396, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.3399, allocations: 119.8 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.3399, allocations: 3.938 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.3399, allocations: 11.98 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.3401, allocations: 87.75 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3401, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3402, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3402, allocations: 0 / 1.09 GB, free: 15.3 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.0005253/0.3407, allocations: 363.4 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3407, allocations: 8.031 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.3408, allocations: 8.844 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3409, allocations: 160.4 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3409, allocations: 384 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.341, allocations: 4.375 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3411, allocations: 46.23 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3412, allocations: 4.125 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3412, allocations: 7.938 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3412, allocations: 7.984 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.3414, allocations: 31.95 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.3417, allocations: 248.9 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.3419, allocations: 38.5 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.3419, allocations: 28.89 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/0.3427, allocations: 453.5 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3427, allocations: 34.55 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3427, allocations: 8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.3431, allocations: 81.5 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3431, allocations: 51.41 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.3432, allocations: 101.8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3432, allocations: 29.7 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.3433, allocations: 80.14 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.3433, allocations: 9.453 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.3433, allocations: 17.7 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3434, allocations: 314.8 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.3435, allocations: 15.98 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/0.3436, allocations: 19.98 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3438, allocations: 40.88 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.3438, allocations: 4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001937/0.344, allocations: 65.55 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.344, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3441, allocations: 4 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3441, allocations: 3.984 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.3442, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3442, allocations: 4.031 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.3442, allocations: 7.984 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3442, allocations: 0 / 1.092 GB, free: 12.72 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 7.532e-05/0.3443, allocations: 117.8 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.3443, allocations: 3.938 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.3446, allocations: 76.66 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3446, allocations: 32 / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3446, allocations: 7.984 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3446, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.3448, allocations: 161.5 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3448, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.3448, allocations: 11.98 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3449, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3449, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3449, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3449, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3451, allocations: 167.5 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.3452, allocations: 81.02 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.3452, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.3453, allocations: 11.92 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.3453, allocations: 8 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.3453, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.3454, allocations: 83.31 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3454, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002643/0.3456, allocations: 31.98 kB / 1.093 GB, free: 11.88 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.000245/0.3459, allocations: 135.2 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.3461, allocations: 35.97 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3461, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.3462, allocations: 19.97 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.3465, allocations: 15.92 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.3468, allocations: 121.7 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.3471, allocations: 0.6729 MB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.3471, allocations: 3.984 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.3471, allocations: 7.438 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.3471, allocations: 0 / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of Templates: time 0.003778/0.3509, allocations: 0.8771 MB / 1.095 GB, free: 9.934 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches