Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.004019/0.004019, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001165/0.001165, allocations: 187.2 kB / 16.67 MB, free: 5.922 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.33/1.33, 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.568/2.568, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 69.16 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2931, allocations: 162.3 MB / 1.242 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001637/0.2948, allocations: 0.5874 MB / 1.242 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005988/0.2954, allocations: 303.3 kB / 1.243 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.182e-05/0.2954, allocations: 0 / 1.243 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.2954, allocations: 0 / 1.243 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-06/0.2954, allocations: 0 / 1.243 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.2959, allocations: 104.7 kB / 1.243 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.45e-05/0.2959, allocations: 0 / 1.243 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.296, allocations: 0 / 1.243 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.569e-05/0.296, allocations: 7.938 kB / 1.243 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.048e-05/0.296, allocations: 3.984 kB / 1.243 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-06/0.296, allocations: 4 kB / 1.243 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.2963, allocations: 127.8 kB / 1.243 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.2963, allocations: 0 / 1.243 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.2963, allocations: 0 / 1.243 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.2965, allocations: 76.03 kB / 1.243 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2965, allocations: 0 / 1.243 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2965, allocations: 0 / 1.243 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2965, allocations: 0 / 1.243 GB, free: 7.609 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003161/0.2968, allocations: 335.4 kB / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2969, allocations: 8.031 kB / 1.243 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.2969, allocations: 34.75 kB / 1.243 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.603e-05/0.2969, allocations: 0.9375 kB / 1.243 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.297, allocations: 160.4 kB / 1.244 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2971, allocations: 384 / 1.244 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.2971, allocations: 4.375 kB / 1.244 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.414e-05/0.2971, allocations: 26.27 kB / 1.244 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.2972, allocations: 3.938 kB / 1.244 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.2972, allocations: 0 / 1.244 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2972, allocations: 0 / 1.244 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.2972, allocations: 19.86 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.2973, allocations: 149.7 kB / 1.244 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/0.2974, allocations: 14.58 kB / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.2974, allocations: 8.953 kB / 1.244 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007778/0.2982, allocations: 469.5 kB / 1.244 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2982, allocations: 34.55 kB / 1.244 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2982, allocations: 4 kB / 1.244 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001077/0.2984, allocations: 37.58 kB / 1.244 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.2984, allocations: 51.41 kB / 1.244 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.398e-05/0.2985, allocations: 101.9 kB / 1.244 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2985, allocations: 25.7 kB / 1.244 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.2985, allocations: 80.14 kB / 1.245 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.2985, allocations: 3.953 kB / 1.245 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.2986, allocations: 13.72 kB / 1.245 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2987, allocations: 310.8 kB / 1.245 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-06/0.2987, allocations: 3.984 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.2987, allocations: 0 / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.2988, allocations: 16.92 kB / 1.245 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2988, allocations: 0 / 1.245 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.747e-05/0.2988, allocations: 33.64 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2989, allocations: 8 kB / 1.245 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2989, allocations: 3.938 kB / 1.245 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.2989, allocations: 0 / 1.245 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.024e-05/0.2989, allocations: 0 / 1.245 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.2989, allocations: 0 / 1.245 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.365e-06/0.2989, allocations: 4 kB / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.2989, allocations: 8.016 kB / 1.245 GB, free: 5.348 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 (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.559e-05/0.299, allocations: 105.8 kB / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-06/0.299, allocations: 0 / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/0.2991, allocations: 44.7 kB / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2991, allocations: 0 / 1.245 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2991, allocations: 4 kB / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.2991, allocations: 0 / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2992, allocations: 145.7 kB / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2992, allocations: 0 / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.2993, allocations: 4.031 kB / 1.245 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2993, allocations: 7.938 kB / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2993, allocations: 3.938 kB / 1.245 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2993, allocations: 0 / 1.245 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2993, allocations: 0 / 1.245 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.591e-05/0.2994, allocations: 57.12 kB / 1.245 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.2994, allocations: 81.09 kB / 1.245 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.2994, allocations: 11.94 kB / 1.245 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/0.2994, allocations: 4.031 kB / 1.245 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.2995, allocations: 3.938 kB / 1.245 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.2995, allocations: 0 / 1.245 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.077e-05/0.2995, allocations: 75.28 kB / 1.245 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2995, allocations: 0 / 1.245 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002102/0.2997, allocations: 31.92 kB / 1.246 GB, free: 4.68 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 (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.0006696/0.3004, allocations: 0.6362 MB / 1.246 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.819e-05/0.3005, allocations: 12.03 kB / 1.246 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3005, allocations: 0 / 1.246 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-06/0.3005, allocations: 7.938 kB / 1.246 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.3006, allocations: 5.875 kB / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.3009, allocations: 106.5 kB / 1.246 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.3012, allocations: 0.6729 MB / 1.247 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.277e-06/0.3012, allocations: 0 / 1.247 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.3012, allocations: 7.438 kB / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.3013, allocations: 0 / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.165/0.4663, allocations: 1.413 MB / 1.248 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.665/9.131, allocations: 15.77 kB / 1.248 GB, free: 1.805 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches