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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.006093/0.006093, allocations: 98.02 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.001384/0.001384, allocations: 194.1 kB / 16.68 MB, free: 5.969 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.622/2.622, allocations: 469.4 MB / 0.7421 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 63.91 kB / 1.064 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.831, allocations: 159.1 MB / 1.22 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001748/0.8328, allocations: 0.5836 MB / 1.22 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006519/0.8335, allocations: 304.9 kB / 1.221 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.245e-05/0.8335, allocations: 0 / 1.221 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.8335, allocations: 4 kB / 1.221 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.8335, allocations: 0 / 1.221 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.8341, allocations: 106.7 kB / 1.221 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.727e-05/0.8341, allocations: 4 kB / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.8342, allocations: 0 / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.302e-05/0.8342, allocations: 0 / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.165e-05/0.8342, allocations: 3.984 kB / 1.221 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.8342, allocations: 0 / 1.221 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.8345, allocations: 127.8 kB / 1.221 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.8345, allocations: 0 / 1.221 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.8345, allocations: 8 kB / 1.221 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.8347, allocations: 74.48 kB / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8347, allocations: 0 / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8347, allocations: 3.938 kB / 1.221 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.8347, allocations: 0 / 1.221 GB, free: 1.02 MB / 0.9356 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.0003063/0.835, allocations: 332.4 kB / 1.221 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.8351, allocations: 12.62 kB / 1.221 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.8351, allocations: 30.75 kB / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.8351, allocations: 0.9375 kB / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.218e-05/0.8352, allocations: 164.3 kB / 1.221 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.8352, allocations: 4.375 kB / 1.221 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.8353, allocations: 384 / 1.221 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.8354, allocations: 30.27 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8354, allocations: 3.938 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.8354, allocations: 0 / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8354, allocations: 0 / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.8354, allocations: 7.922 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.8355, allocations: 149.7 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.655e-05/0.8356, allocations: 18.58 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.8356, allocations: 4.859 kB / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000819/0.8364, allocations: 473.5 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.8365, allocations: 34.55 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.8365, allocations: 0 / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.8366, allocations: 37.58 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.8367, allocations: 55.41 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.102e-05/0.8367, allocations: 89.86 kB / 1.222 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.8367, allocations: 25.7 kB / 1.222 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.8367, allocations: 80.27 kB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.8368, allocations: 7.938 kB / 1.222 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.8368, allocations: 13.72 kB / 1.222 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.8369, allocations: 318.8 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.8369, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.8369, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/0.837, allocations: 8.859 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.837, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.738e-05/0.837, allocations: 41.7 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.8371, allocations: 6.031 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.8371, allocations: 3.938 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.8371, allocations: 4 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.8371, allocations: 4 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.8371, allocations: 0 / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-06/0.8372, allocations: 0 / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.8372, allocations: 3.984 kB / 1.223 GB, free: 14.77 MB / 0.9512 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 6.002e-05/0.8372, allocations: 110.4 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.8372, allocations: 4.031 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.358e-05/0.8373, allocations: 48.58 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.8373, allocations: 0 / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.8373, allocations: 0 / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.8374, allocations: 0 / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.452e-05/0.8374, allocations: 153.7 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8374, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.8375, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.8375, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.8375, allocations: 7.922 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8375, allocations: 4.031 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8375, allocations: 4 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.426e-05/0.8376, allocations: 53.12 kB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.8376, allocations: 77.11 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.8376, allocations: 7.938 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.8376, allocations: 0 / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.8376, allocations: 4 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-06/0.8377, allocations: 4.031 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.669e-05/0.8377, allocations: 79.22 kB / 1.223 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8377, allocations: 0 / 1.223 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002206/0.8379, allocations: 27.92 kB / 1.223 GB, free: 14.09 MB / 0.9512 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.0004796/0.8384, allocations: 0.6319 MB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.015e-05/0.8385, allocations: 4 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8385, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.8385, allocations: 8 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.8386, allocations: 4.062 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.839, allocations: 122.5 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.8392, allocations: 0.6728 MB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.126e-05/0.8392, allocations: 4 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.8392, allocations: 7.438 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.8392, allocations: 0 / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.8564, allocations: 1.417 MB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.533, allocations: 10.5 kB / 1.226 GB, free: 11.21 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 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.csv","/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