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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.006815/0.006815, allocations: 100.4 kB / 15.73 MB, free: 6.012 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.001818/0.001818, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.578/2.578, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 74.06 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2911, allocations: 162.3 MB / 1.242 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002428/0.2936, allocations: 1.435 MB / 1.243 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006467/0.2942, allocations: 338.9 kB / 1.244 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.2943, allocations: 3.938 kB / 1.244 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.2943, allocations: 8 kB / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.554e-05/0.2944, allocations: 3.938 kB / 1.244 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.2948, allocations: 99.7 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.779e-05/0.2948, allocations: 23.88 kB / 1.244 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.99e-05/0.2949, allocations: 7.984 kB / 1.244 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.295, allocations: 8 kB / 1.244 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.295, allocations: 11.92 kB / 1.244 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.295, allocations: 4 kB / 1.244 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.2952, allocations: 123.8 kB / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.2953, allocations: 4 kB / 1.244 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.2953, allocations: 11.92 kB / 1.244 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.2955, allocations: 84.02 kB / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2955, allocations: 4 kB / 1.244 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2955, allocations: 0 / 1.244 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2955, allocations: 4 kB / 1.244 GB, free: 6.742 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.0004356/0.2959, allocations: 351.2 kB / 1.244 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.296, allocations: 12.03 kB / 1.244 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.296, allocations: 42.69 kB / 1.244 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.926e-05/0.2961, allocations: 0.9375 kB / 1.244 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2962, allocations: 172.3 kB / 1.245 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2962, allocations: 4.375 kB / 1.245 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.2962, allocations: 384 / 1.245 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.2964, allocations: 46.25 kB / 1.245 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2964, allocations: 3.938 kB / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.2964, allocations: 3.984 kB / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2964, allocations: 0 / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.2966, allocations: 35.97 kB / 1.245 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.2969, allocations: 248.9 kB / 1.245 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.297, allocations: 38.5 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.2971, allocations: 22.39 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/0.2978, allocations: 461.5 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.2978, allocations: 34.56 kB / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2978, allocations: 0 / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.00033/0.2982, allocations: 85.58 kB / 1.245 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2982, allocations: 51.41 kB / 1.246 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.2983, allocations: 97.86 kB / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2983, allocations: 25.7 kB / 1.246 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.2984, allocations: 92.06 kB / 1.246 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2984, allocations: 7.953 kB / 1.246 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.2984, allocations: 13.84 kB / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2986, allocations: 314.8 kB / 1.246 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.2986, allocations: 15.98 kB / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.2987, allocations: 15.97 kB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.2989, allocations: 44.77 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2989, allocations: 8 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.2991, allocations: 73.55 kB / 1.246 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2991, allocations: 4 kB / 1.246 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2991, allocations: 0 / 1.246 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.2991, allocations: 0 / 1.246 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.2992, allocations: 12.17 kB / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.2992, allocations: 0 / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.2993, allocations: 4 kB / 1.246 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.2993, allocations: 4.031 kB / 1.246 GB, free: 4.117 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 7.187e-05/0.2993, allocations: 113.8 kB / 1.246 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.2994, allocations: 7.984 kB / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.2996, allocations: 72.72 kB / 1.246 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2996, allocations: 0 / 1.246 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2996, allocations: 3.938 kB / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2996, allocations: 32 / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.2998, allocations: 165.6 kB / 1.247 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2998, allocations: 0 / 1.247 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.2998, allocations: 7.984 kB / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2998, allocations: 0 / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.2999, allocations: 0 / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.2999, allocations: 4 kB / 1.247 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2999, allocations: 4 kB / 1.247 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3001, allocations: 167.5 kB / 1.247 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.3002, allocations: 81.06 kB / 1.247 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3002, allocations: 7.922 kB / 1.247 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.3002, allocations: 4 kB / 1.247 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.3003, allocations: 0 / 1.247 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3003, allocations: 3.984 kB / 1.247 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.3003, allocations: 83.28 kB / 1.247 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3003, allocations: 0 / 1.247 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002553/0.3006, allocations: 31.97 kB / 1.247 GB, free: 3.277 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.0006343/0.3012, allocations: 0.7363 MB / 1.248 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.3014, allocations: 43.89 kB / 1.248 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3015, allocations: 3.938 kB / 1.248 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.338e-05/0.3015, allocations: 24.05 kB / 1.248 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.3018, allocations: 1.875 kB / 1.248 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.3021, allocations: 143 kB / 1.248 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3024, allocations: 0.6729 MB / 1.249 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.3025, allocations: 3.984 kB / 1.249 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.3025, allocations: 11.44 kB / 1.249 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.3025, allocations: 4 kB / 1.249 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1453/0.4478, allocations: 1.744 MB / 1.25 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/8.735, allocations: 9.453 kB / 1.25 GB, free: 15.86 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches