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.008536/0.008536, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.00203/0.00203, allocations: 193.5 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.327/2.327, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8833/0.8847, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001484/0.8863, allocations: 0.5755 MB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.8868, allocations: 306.8 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.136e-05/0.8868, allocations: 0 / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.8868, allocations: 1.156 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.451e-06/0.8869, allocations: 4 kB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.8873, allocations: 99.16 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.523e-05/0.8873, allocations: 1.672 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.8874, allocations: 1.766 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.206e-05/0.8874, allocations: 1.125 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.811e-05/0.8874, allocations: 4.641 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.8874, allocations: 0 / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.8877, allocations: 131.3 kB / 1.089 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.8877, allocations: 5 kB / 1.089 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.371e-05/0.8877, allocations: 0 / 1.089 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.8879, allocations: 77.25 kB / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8879, allocations: 0 / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8879, allocations: 0 / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.8879, allocations: 1.062 kB / 1.089 GB, free: 4.602 MB / 0.8575 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.0002115/0.8881, allocations: 327.5 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.8881, allocations: 10.34 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.849e-05/0.8882, allocations: 30.75 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.837e-05/0.8882, allocations: 2.125 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.556e-05/0.8882, allocations: 161.7 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.8882, allocations: 1.719 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.8883, allocations: 4.375 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.579e-05/0.8883, allocations: 32.8 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.8883, allocations: 9.344 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.8884, allocations: 0 / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.8884, allocations: 0 / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.483e-05/0.8884, allocations: 1.922 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.974e-05/0.8885, allocations: 148.2 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.494e-05/0.8885, allocations: 24.73 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.8885, allocations: 10.59 kB / 1.089 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006585/0.8892, allocations: 468.4 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.8892, allocations: 36.33 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.8892, allocations: 0 / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000103/0.8893, allocations: 36.56 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.512e-05/0.8893, allocations: 52.53 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.306e-05/0.8894, allocations: 89.86 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.8894, allocations: 25.7 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.526e-06/0.8894, allocations: 80.75 kB / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.8894, allocations: 12.97 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.8894, allocations: 12.69 kB / 1.09 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.8895, allocations: 311.5 kB / 1.09 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.8895, allocations: 1.125 kB / 1.09 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.8895, allocations: 5.828 kB / 1.09 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/0.8895, allocations: 7.734 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.8895, allocations: 0 / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.167e-05/0.8896, allocations: 36.78 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.8896, allocations: 9.688 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8896, allocations: 3.938 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.8896, allocations: 1.891 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.182e-05/0.8897, allocations: 1.094 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8897, allocations: 1.719 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-06/0.8897, allocations: 7.891 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.8897, allocations: 1.125 kB / 1.091 GB, free: 2.5 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 3.73e-05/0.8897, allocations: 111.5 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-06/0.8897, allocations: 0.6094 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.8898, allocations: 43.72 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.8898, allocations: 0 / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.8898, allocations: 0.6562 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.8898, allocations: 5.109 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.474e-05/0.8899, allocations: 148.6 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.8899, allocations: 0 / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/0.8899, allocations: 2.688 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.8899, allocations: 0 / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.8899, allocations: 5.516 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.8899, allocations: 7.969 kB / 1.091 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8899, allocations: 0.9688 kB / 1.091 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.643e-05/0.89, allocations: 61.39 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.89, allocations: 81.81 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.89, allocations: 6.031 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.89, allocations: 0 / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.89, allocations: 1.062 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.89, allocations: 0.8906 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.123e-05/0.8901, allocations: 80.34 kB / 1.091 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8901, allocations: 0 / 1.091 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002189/0.8903, allocations: 26.48 kB / 1.091 GB, free: 1.879 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.0004855/0.8908, allocations: 0.6325 MB / 1.092 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.411e-05/0.8909, allocations: 3.656 kB / 1.092 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8909, allocations: 1.312 kB / 1.092 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-06/0.8909, allocations: 1.031 kB / 1.092 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.891, allocations: 8.156 kB / 1.092 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.8913, allocations: 122.4 kB / 1.092 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.8915, allocations: 0.6714 MB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.205e-05/0.8916, allocations: 0.6094 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.8916, allocations: 8.938 kB / 1.093 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.8916, allocations: 0 / 1.093 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.9078, allocations: 1.42 MB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/8.346, allocations: 1.188 kB / 1.094 GB, free: 16.02 MB / 0.8731 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