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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005549/0.005549, allocations: 99.08 kB / 15.73 MB, free: 6.047 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.001289/0.00129, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.439/2.439, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 64.66 kB / 0.9504 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3, allocations: 140.4 MB / 1.088 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001879/0.3019, allocations: 0.582 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000632/0.3026, allocations: 295.3 kB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.178e-05/0.3026, allocations: 0 / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.3026, allocations: 0 / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.3027, allocations: 0 / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.3032, allocations: 87.73 kB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.302e-05/0.3032, allocations: 11.98 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.017e-05/0.3033, allocations: 4 kB / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.236e-05/0.3033, allocations: 0 / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.763e-05/0.3033, allocations: 0 / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.3033, allocations: 0 / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.3036, allocations: 127.8 kB / 1.089 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.3036, allocations: 0 / 1.089 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.3036, allocations: 0 / 1.089 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.3038, allocations: 71.78 kB / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3038, allocations: 0 / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3038, allocations: 0 / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.3038, allocations: 0 / 1.089 GB, free: 0.918 MB / 0.8419 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.0002957/0.3041, allocations: 327.6 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3042, allocations: 12.03 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.675e-05/0.3042, allocations: 30.75 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.3042, allocations: 4.938 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.3043, allocations: 164.4 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.3043, allocations: 384 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.3044, allocations: 384 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.388e-05/0.3045, allocations: 34.2 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3045, allocations: 7.875 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.3045, allocations: 0 / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3045, allocations: 0 / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.3045, allocations: 0 / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.3046, allocations: 153.7 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.293e-05/0.3047, allocations: 14.58 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.3047, allocations: 8.844 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/0.3055, allocations: 457.5 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.3055, allocations: 34.56 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 3.116e-06/0.3055, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.3056, allocations: 41.56 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.3057, allocations: 51.41 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.622e-05/0.3057, allocations: 89.86 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.3057, allocations: 25.7 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.3058, allocations: 80.14 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.3058, allocations: 12.12 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.3058, allocations: 9.719 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.3059, allocations: 310.8 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.306, allocations: 0 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.306, allocations: 4 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.306, allocations: 16.72 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.306, allocations: 4 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.137e-05/0.3061, allocations: 33.8 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3061, allocations: 8 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3061, allocations: 3.938 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3061, allocations: 0 / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.144e-05/0.3062, allocations: 4 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3062, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.3062, allocations: 4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.3062, allocations: 0 / 1.091 GB, free: 14.68 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 (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 5.45e-05/0.3063, allocations: 105.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.3063, allocations: 11.89 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.3064, allocations: 48.69 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3064, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3064, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3064, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.33e-05/0.3065, allocations: 149.7 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3065, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.3065, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3065, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.3065, allocations: 3.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3065, allocations: 3.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3065, allocations: 4.031 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.796e-05/0.3066, allocations: 65.06 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.3066, allocations: 77.11 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.3067, allocations: 3.938 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-06/0.3067, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.3067, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.3067, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.3067, allocations: 83.31 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3067, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002209/0.307, allocations: 24 kB / 1.091 GB, free: 14.01 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 (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.0004707/0.3074, allocations: 0.6347 MB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.62e-05/0.3075, allocations: 7.938 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3075, allocations: 3.938 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.3075, allocations: 7.984 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.3077, allocations: 5.375 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.308, allocations: 118.7 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3083, allocations: 0.6729 MB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.104e-05/0.3083, allocations: 0 / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.3083, allocations: 15.38 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3083, allocations: 0 / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.3254, allocations: 1.38 MB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/7.621, allocations: 13.88 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > 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