Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.BesselY1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_10_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.008077/0.008077, allocations: 102 kB / 15.73 MB, free: 6.051 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.0019/0.0019, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 75.95 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7695, allocations: 151.6 MB / 1.166 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002809/0.7723, allocations: 1.435 MB / 1.168 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007114/0.7731, allocations: 354.2 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.7731, allocations: 3.938 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.7732, allocations: 0 / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.725e-05/0.7732, allocations: 7.922 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.7737, allocations: 112.7 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.7737, allocations: 23.92 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.7738, allocations: 4 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.7739, allocations: 15.94 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.7739, allocations: 7.984 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.7739, allocations: 0 / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.7742, allocations: 127.8 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.7742, allocations: 8 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.7742, allocations: 11.86 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.7744, allocations: 99.39 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7744, allocations: 4 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7744, allocations: 0 / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7745, allocations: 0 / 1.168 GB, free: 1.68 MB / 0.8887 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.0004372/0.7749, allocations: 359.2 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.7749, allocations: 12.92 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.775, allocations: 30.75 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.775, allocations: 0.9375 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.7751, allocations: 168.3 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.7751, allocations: 384 / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.7752, allocations: 384 / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.7753, allocations: 50.23 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.7754, allocations: 11.88 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.7754, allocations: 0 / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.7754, allocations: 0 / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.7755, allocations: 35.95 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.7758, allocations: 241 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.776, allocations: 46.48 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.138e-05/0.7761, allocations: 28.84 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007794/0.7769, allocations: 469.5 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.7769, allocations: 34.61 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7769, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0003434/0.7772, allocations: 77.64 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.7773, allocations: 51.41 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.7774, allocations: 110 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.7774, allocations: 25.7 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.7774, allocations: 84.14 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.7775, allocations: 7.891 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.7775, allocations: 13.72 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.7776, allocations: 314.8 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.7777, allocations: 15.97 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.7778, allocations: 23.92 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.7779, allocations: 36.83 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.778, allocations: 3.938 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.7782, allocations: 69.61 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.7782, allocations: 4 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.7782, allocations: 4.094 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.7782, allocations: 4 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/0.7783, allocations: 7.984 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7783, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.7784, allocations: 8.172 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.7784, allocations: 3.938 kB / 1.171 GB, free: 15.04 MB / 0.9044 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 6.715e-05/0.7784, allocations: 117.7 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.7785, allocations: 3.984 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.7787, allocations: 72.78 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.7787, allocations: 4 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.7787, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.7787, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.7789, allocations: 161.6 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7789, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.779, allocations: 12 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.779, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.779, allocations: 4.016 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.779, allocations: 4 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.779, allocations: 3.828 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.7792, allocations: 167.4 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.7793, allocations: 81.06 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.7793, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.7794, allocations: 8.031 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.7794, allocations: 7.984 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7794, allocations: 0 / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.508e-05/0.7795, allocations: 83.28 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7795, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002711/0.7798, allocations: 27.94 kB / 1.171 GB, free: 14.2 MB / 0.9044 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.0006282/0.7804, allocations: 0.7357 MB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.7806, allocations: 36 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7806, allocations: 0 / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.7807, allocations: 23.97 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.7809, allocations: 4 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.7814, allocations: 139.1 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.7816, allocations: 0.6807 MB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.275e-05/0.7816, allocations: 7.938 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.7817, allocations: 11.44 kB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.7817, allocations: 0 / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.7983, allocations: 1.769 MB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.507, allocations: 7.969 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.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_10_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches