Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_9_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.008994/0.008994, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.002003/0.002003, allocations: 192.3 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.502/2.502, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.8 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3214, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001953/0.3234, allocations: 0.5688 MB / 1.088 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007352/0.3242, allocations: 311.2 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.3242, allocations: 0 / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.3242, allocations: 0 / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-06/0.3242, allocations: 0 / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.3248, allocations: 95.66 kB / 1.088 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.273e-05/0.3248, allocations: 8 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.3249, allocations: 0 / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.3249, allocations: 4 kB / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.874e-05/0.3249, allocations: 0 / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.232e-06/0.3249, allocations: 0 / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.3252, allocations: 123.8 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.3252, allocations: 4 kB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.3253, allocations: 0 / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3255, allocations: 87.73 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3255, allocations: 0 / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3255, allocations: 0 / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3255, allocations: 0 / 1.089 GB, free: 0.7695 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.0003941/0.3259, allocations: 327.6 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3259, allocations: 8.031 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.478e-05/0.326, allocations: 34.75 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.3261, allocations: 0.9375 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.451e-05/0.3262, allocations: 160.4 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.3262, allocations: 384 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.3262, allocations: 384 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.3263, allocations: 34.27 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3263, allocations: 3.938 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.3263, allocations: 0 / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3263, allocations: 4 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.3264, allocations: 3.938 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.3266, allocations: 145.7 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.276e-05/0.3267, allocations: 18.61 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.3267, allocations: 8.859 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008902/0.3276, allocations: 469.5 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3276, allocations: 34.56 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3277, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.3278, allocations: 45.56 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3279, allocations: 55.53 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.03e-05/0.3279, allocations: 89.86 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3279, allocations: 25.7 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.328, allocations: 84.14 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.328, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.3281, allocations: 9.719 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3282, allocations: 314.8 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.3282, allocations: 8 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-06/0.3282, allocations: 4 kB / 1.09 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.3282, allocations: 16.78 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3282, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.698e-05/0.3283, allocations: 33.64 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3283, allocations: 4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3283, allocations: 3.938 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3284, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.216e-05/0.3284, allocations: 4 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3284, allocations: 96 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.056e-05/0.3284, allocations: 4 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.3284, allocations: 0 / 1.091 GB, free: 14.53 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 8.456e-05/0.3285, allocations: 113.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.3286, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.745e-05/0.3286, allocations: 44.7 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3287, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3287, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3287, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.3288, allocations: 153.6 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3288, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.3288, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3288, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3288, allocations: 3.938 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3288, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3288, allocations: 3.984 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.02e-05/0.3289, allocations: 61.12 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.329, allocations: 81.14 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.329, allocations: 3.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-06/0.329, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.329, allocations: 3.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.329, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.836e-05/0.3291, allocations: 75.28 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3291, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002365/0.3293, allocations: 27.98 kB / 1.091 GB, free: 13.85 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.000579/0.3299, allocations: 0.6386 MB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.846e-05/0.33, allocations: 11.98 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.33, allocations: 3.938 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-06/0.33, allocations: 7.938 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.3302, allocations: 5.656 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.3306, allocations: 118.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3309, allocations: 0.669 MB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.239e-05/0.3309, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.331, allocations: 15.56 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.331, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.351, allocations: 1.401 MB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.865, allocations: 4.781 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches