Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.002023/0.002023, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.434/1.434, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.271/2.271, allocations: 390.2 MB / 0.665 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 73.45 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2987, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.00221/0.301, allocations: 0.6395 MB / 0.9504 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006621/0.3017, allocations: 289.2 kB / 0.9507 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.11e-05/0.3017, allocations: 0 / 0.9507 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.3018, allocations: 4 kB / 0.9507 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-06/0.3018, allocations: 0 / 0.9507 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.3023, allocations: 91.73 kB / 0.9508 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.3024, allocations: 4 kB / 0.9508 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.3024, allocations: 4 kB / 0.9508 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.678e-05/0.3025, allocations: 3.984 kB / 0.9508 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.423e-05/0.3025, allocations: 4 kB / 0.9508 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.243e-06/0.3025, allocations: 0 / 0.9508 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.3028, allocations: 127.8 kB / 0.9509 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.3028, allocations: 0 / 0.9509 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.3028, allocations: 4 kB / 0.9509 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.303, allocations: 43.92 kB / 0.951 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.303, allocations: 4 kB / 0.951 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.303, allocations: 0 / 0.951 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.303, allocations: 0 / 0.951 GB, free: 7.98 MB / 0.7325 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.0003456/0.3033, allocations: 327.6 kB / 0.9513 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3034, allocations: 8.031 kB / 0.9513 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.3034, allocations: 4.844 kB / 0.9513 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.675e-05/0.3035, allocations: 164.4 kB / 0.9514 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.3036, allocations: 4.312 kB / 0.9514 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3036, allocations: 4.375 kB / 0.9514 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.3037, allocations: 26.27 kB / 0.9515 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3037, allocations: 192 / 0.9515 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3037, allocations: 7.875 kB / 0.9515 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3037, allocations: 7.938 kB / 0.9515 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.3037, allocations: 8 kB / 0.9515 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.3039, allocations: 141.7 kB / 0.9516 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.3039, allocations: 14.58 kB / 0.9516 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.304, allocations: 12.94 kB / 0.9517 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008282/0.3048, allocations: 457.5 kB / 0.9521 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3048, allocations: 30.56 kB / 0.9521 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.3049, allocations: 0 / 0.9521 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.305, allocations: 49.56 kB / 0.9522 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.3051, allocations: 51.41 kB / 0.9522 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.3051, allocations: 93.98 kB / 0.9523 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.3051, allocations: 25.7 kB / 0.9523 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.3052, allocations: 80.14 kB / 0.9524 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.3052, allocations: 0 / 0.9524 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.3052, allocations: 13.72 kB / 0.9524 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3054, allocations: 310.8 kB / 0.9527 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.3054, allocations: 0 / 0.9527 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.3054, allocations: 0 / 0.9527 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.289e-05/0.3054, allocations: 20.86 kB / 0.9527 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.3054, allocations: 3.984 kB / 0.9527 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.702e-05/0.3055, allocations: 29.7 kB / 0.9528 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3055, allocations: 10.19 kB / 0.9528 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3055, allocations: 0 / 0.9528 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3056, allocations: 3.938 kB / 0.9528 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.332e-05/0.3056, allocations: 0 / 0.9528 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3056, allocations: 0 / 0.9528 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.3056, allocations: 0 / 0.9528 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3056, allocations: 7.984 kB / 0.9528 GB, free: 5.785 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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.583e-05/0.3057, allocations: 109.9 kB / 0.9529 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.3057, allocations: 3.984 kB / 0.9529 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.343e-05/0.3058, allocations: 48.7 kB / 0.9529 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3058, allocations: 0 / 0.9529 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3059, allocations: 0 / 0.9529 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3059, allocations: 0 / 0.9529 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.306, allocations: 149.7 kB / 0.9531 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.306, allocations: 3.938 kB / 0.9531 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.306, allocations: 4.031 kB / 0.9531 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.306, allocations: 3.938 kB / 0.9531 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.306, allocations: 3.938 kB / 0.9531 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.306, allocations: 4 kB / 0.9531 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.306, allocations: 0 / 0.9531 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.755e-05/0.3061, allocations: 57.12 kB / 0.9532 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.3062, allocations: 81.05 kB / 0.9532 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.3062, allocations: 3.938 kB / 0.9532 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-06/0.3062, allocations: 8.031 kB / 0.9533 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.3062, allocations: 0 / 0.9533 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3062, allocations: 0 / 0.9533 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.3063, allocations: 75.28 kB / 0.9533 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3063, allocations: 0 / 0.9533 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002328/0.3065, allocations: 24 kB / 0.9533 GB, free: 5.113 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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.0002964/0.3068, allocations: 143.2 kB / 0.9535 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.345e-05/0.3069, allocations: 8 kB / 0.9535 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3069, allocations: 0 / 0.9535 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.767e-06/0.3069, allocations: 4 kB / 0.9535 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.3071, allocations: 1.203 kB / 0.9535 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/0.3073, allocations: 106.8 kB / 0.9536 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3075, allocations: 0.6805 MB / 0.9543 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.3075, allocations: 7.438 kB / 0.9543 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.3076, allocations: 0 / 0.9543 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of Templates: time 0.002335/0.3099, allocations: 0.7609 MB / 0.955 GB, free: 3.34 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches