Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",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.004541/0.004541, allocations: 101.8 kB / 15.73 MB, free: 6.062 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.00121/0.00121, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.708/2.708, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 59.94 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3118, allocations: 162.3 MB / 1.242 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.00298/0.3148, allocations: 1.439 MB / 1.243 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.3156, allocations: 358.8 kB / 1.244 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.3156, allocations: 3.938 kB / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.3157, allocations: 0 / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.3157, allocations: 7.922 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3162, allocations: 111.6 kB / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.3e-05/0.3163, allocations: 19.92 kB / 1.244 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.328e-05/0.3164, allocations: 8 kB / 1.244 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.3164, allocations: 8 kB / 1.244 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.3165, allocations: 15.92 kB / 1.244 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.3165, allocations: 0 / 1.244 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.3168, allocations: 131.8 kB / 1.244 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.3168, allocations: 3.938 kB / 1.244 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.3169, allocations: 11.92 kB / 1.244 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.3171, allocations: 92.02 kB / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3171, allocations: 0 / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3171, allocations: 0 / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3171, allocations: 4 kB / 1.244 GB, free: 6.719 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.0005035/0.3176, allocations: 351.3 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3176, allocations: 12.03 kB / 1.244 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.3177, allocations: 34.73 kB / 1.244 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.3177, allocations: 0.9375 kB / 1.244 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3179, allocations: 168.3 kB / 1.245 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3179, allocations: 384 / 1.245 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3179, allocations: 4.375 kB / 1.245 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.3181, allocations: 58.16 kB / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3181, allocations: 3.938 kB / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.3181, allocations: 4 kB / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3181, allocations: 0 / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.3183, allocations: 35.95 kB / 1.245 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.3186, allocations: 241 kB / 1.245 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3188, allocations: 47.92 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.3189, allocations: 24.89 kB / 1.245 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000891/0.3198, allocations: 469.5 kB / 1.245 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3198, allocations: 30.56 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.3198, allocations: 0 / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004604/0.3203, allocations: 81.64 kB / 1.245 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.3203, allocations: 55.53 kB / 1.246 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.259e-05/0.3204, allocations: 113.7 kB / 1.246 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3204, allocations: 25.7 kB / 1.246 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.3205, allocations: 84.08 kB / 1.246 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.3205, allocations: 3.953 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.3206, allocations: 17.72 kB / 1.246 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3207, allocations: 310.8 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.3208, allocations: 19.97 kB / 1.246 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.3209, allocations: 19.98 kB / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.321, allocations: 32.83 kB / 1.246 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.321, allocations: 7.875 kB / 1.246 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/0.3213, allocations: 69.61 kB / 1.246 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3213, allocations: 8.094 kB / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3213, allocations: 0 / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3213, allocations: 4 kB / 1.246 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.3214, allocations: 11.92 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3214, allocations: 0 / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.3215, allocations: 4 kB / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3215, allocations: 3.984 kB / 1.246 GB, free: 4.082 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 8.763e-05/0.3216, allocations: 117.8 kB / 1.246 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.3216, allocations: 4 kB / 1.246 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.3218, allocations: 72.78 kB / 1.246 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3218, allocations: 0 / 1.246 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3218, allocations: 0 / 1.246 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3219, allocations: 0 / 1.246 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.322, allocations: 165.6 kB / 1.247 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.322, allocations: 0 / 1.247 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.3221, allocations: 8 kB / 1.247 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3221, allocations: 7.969 kB / 1.247 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.3221, allocations: 0 / 1.247 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3221, allocations: 0 / 1.247 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3221, allocations: 3.984 kB / 1.247 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.3225, allocations: 159.5 kB / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.3225, allocations: 85.05 kB / 1.247 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.3225, allocations: 4.031 kB / 1.247 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.3226, allocations: 8 kB / 1.247 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3227, allocations: 7.984 kB / 1.247 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3227, allocations: 3.938 kB / 1.247 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.3227, allocations: 79.47 kB / 1.247 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3227, allocations: 0 / 1.247 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002557/0.323, allocations: 27.94 kB / 1.247 GB, free: 3.246 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.0007066/0.3237, allocations: 0.7441 MB / 1.248 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.3239, allocations: 39.97 kB / 1.248 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3239, allocations: 0 / 1.248 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.179e-05/0.324, allocations: 15.98 kB / 1.248 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.3242, allocations: 14.11 kB / 1.248 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.3247, allocations: 143.1 kB / 1.248 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.325, allocations: 0.6806 MB / 1.249 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.325, allocations: 7.938 kB / 1.249 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.325, allocations: 7.438 kB / 1.249 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3251, allocations: 0 / 1.249 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2511/0.5761, allocations: 1.751 MB / 1.25 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.734/9.31, allocations: 12.98 kB / 1.25 GB, free: 15.81 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches